Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setParameterizedSubroute :: Bool -> RouteOpts -> RouteOptsyesod-core Yesod.Core.Dispatch If True, we will correctly pass parameters for subroutes around.
setReadDerived :: Bool -> RouteOpts -> RouteOptsyesod-core Yesod.Core.Dispatch No documentation available.
setShowDerived :: Bool -> RouteOpts -> RouteOptsyesod-core Yesod.Core.Dispatch No documentation available.
setCookie :: MonadHandler m => SetCookie -> m ()yesod-core Yesod.Core.Handler Set the cookie on the client.
setCsrfCookie :: MonadHandler m => m ()yesod-core Yesod.Core.Handler Sets a cookie with a CSRF token, using defaultCsrfCookieName for the cookie name. The cookie's path is set to /, making it valid for your whole website.
setCsrfCookieWithCookie :: MonadHandler m => SetCookie -> m ()yesod-core Yesod.Core.Handler Takes a SetCookie and overrides its value with a CSRF token, then sets the cookie. Make sure to set the setCookiePath to the root path of your application, otherwise you'll generate a new CSRF token for every path of your app. If your app is run from from e.g. www.example.com/app1, use app1. The vast majority of sites will just use /.
setEtag :: MonadHandler m => Text -> m ()yesod-core Yesod.Core.Handler Check the if-none-match header and, if it matches the given value, return a 304 not modified response. Otherwise, set the etag header to the given value. Note that it is the responsibility of the caller to ensure that the provided value is a valid etag value, no sanity checking is performed by this function.
setHeader :: MonadHandler m => Text -> Text -> m ()yesod-core Yesod.Core.Handler Deprecated: Please use addHeader instead
setLanguage :: MonadHandler m => Text -> m ()yesod-core Yesod.Core.Handler Set the language in the user session. Will show up in languages on the next request.
setMessage :: MonadHandler m => Html -> m ()yesod-core Yesod.Core.Handler Calls addMessage with an empty status