Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setContent :: Content -> ScottyResponse -> ScottyResponsescotty Web.Scotty.Internal.Types No documentation available.
setHandler :: forall (m :: Type -> Type) . Maybe (ErrorHandler m) -> ScottyState m -> ScottyState mscotty Web.Scotty.Internal.Types No documentation available.
-
scotty Web.Scotty.Internal.Types No documentation available.
setStatus :: Status -> ScottyResponse -> ScottyResponsescotty Web.Scotty.Internal.Types No documentation available.
settings :: Options -> Settingsscotty Web.Scotty.Internal.Types Warp Settings Note: to work around an issue in warp, the default FD cache duration is set to 0 so changes to static files are always picked up. This likely has performance implications, so you may want to modify this for production servers using setFdCacheDuration.
setHeader :: forall (m :: Type -> Type) . MonadIO m => Text -> Text -> ActionT m ()scotty Web.Scotty.Trans Set one of the response headers. Will override any previously set value for that header. Header names are case-insensitive.
setMaxRequestBodySize :: forall (m :: Type -> Type) . Kilobytes -> ScottyT m ()scotty Web.Scotty.Trans Set global size limit for the request body. Requests with body size exceeding the limit will not be processed and an HTTP response 413 will be returned to the client. Size limit needs to be greater than 0, otherwise the application will terminate on start.
settings :: Options -> Settingsscotty Web.Scotty.Trans Warp Settings Note: to work around an issue in warp, the default FD cache duration is set to 0 so changes to static files are always picked up. This likely has performance implications, so you may want to modify this for production servers using setFdCacheDuration.
setHeader :: forall (m :: Type -> Type) . MonadIO m => Text -> Text -> ActionT m ()scotty Web.Scotty.Trans.Strict Set one of the response headers. Will override any previously set value for that header. Header names are case-insensitive.
setMaxRequestBodySize :: forall (m :: Type -> Type) . Kilobytes -> ScottyT m ()scotty Web.Scotty.Trans.Strict Set global size limit for the request body. Requests with body size exceeding the limit will not be processed and an HTTP response 413 will be returned to the client. Size limit needs to be greater than 0, otherwise the application will terminate on start.