Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setCookiePath :: SetCookie -> Maybe ByteStringscotty Web.Scotty.Cookie The URL path for which the cookie should be sent. Default value: Nothing (The browser defaults to the path of the request that sets the cookie).
setCookieSameSite :: SetCookie -> Maybe SameSiteOptionscotty Web.Scotty.Cookie The "same site" policy of the cookie, i.e. whether it should be sent with cross-site requests. Default value: Nothing
setCookieSecure :: SetCookie -> Boolscotty Web.Scotty.Cookie Instructs the browser to only send the cookie over HTTPS. Default value: False
setCookieValue :: SetCookie -> ByteStringscotty Web.Scotty.Cookie The value of the cookie. Default value: "value"
setSimpleCookie :: forall (m :: Type -> Type) . MonadIO m => Text -> Text -> ActionT m ()scotty Web.Scotty.Cookie makeSimpleCookie and setCookie combined.
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.