Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. setCookieSecure :: SetCookie -> Bool

    scotty Web.Scotty.Cookie

    Instructs the browser to only send the cookie over HTTPS. Default value: False

  2. setCookieValue :: SetCookie -> ByteString

    scotty Web.Scotty.Cookie

    The value of the cookie. Default value: "value"

  3. setSimpleCookie :: forall (m :: Type -> Type) . MonadIO m => Text -> Text -> ActionT m ()

    scotty Web.Scotty.Cookie

    makeSimpleCookie and setCookie combined.

  4. setContent :: Content -> ScottyResponse -> ScottyResponse

    scotty Web.Scotty.Internal.Types

    No documentation available.

  5. setHandler :: forall (m :: Type -> Type) . Maybe (ErrorHandler m) -> ScottyState m -> ScottyState m

    scotty Web.Scotty.Internal.Types

    No documentation available.

  6. setHeaderWith :: ([(HeaderName, ByteString)] -> [(HeaderName, ByteString)]) -> ScottyResponse -> ScottyResponse

    scotty Web.Scotty.Internal.Types

    No documentation available.

  7. setStatus :: Status -> ScottyResponse -> ScottyResponse

    scotty Web.Scotty.Internal.Types

    No documentation available.

  8. settings :: Options -> Settings

    scotty 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.

  9. 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.

  10. 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.

Page 316 of many | Previous | Next