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.
setCookieDomain :: SetCookie -> Maybe ByteStringscotty Web.Scotty.Cookie The domain for which the cookie should be sent. Default value: Nothing (The browser defaults to the current domain).
setCookieExpires :: SetCookie -> Maybe UTCTimescotty Web.Scotty.Cookie The time at which to expire the cookie. Default value: Nothing (The browser will default to expiring a cookie when the browser is closed).
setCookieHttpOnly :: SetCookie -> Boolscotty Web.Scotty.Cookie Marks the cookie as "HTTP only", i.e. not accessible from Javascript. Default value: False
setCookieMaxAge :: SetCookie -> Maybe DiffTimescotty Web.Scotty.Cookie The maximum time to keep the cookie, in seconds. Default value: Nothing (The browser defaults to expiring a cookie when the browser is closed).
setCookieName :: SetCookie -> ByteStringscotty Web.Scotty.Cookie The name of the cookie. Default value: "name"
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.