Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. setShowDerived :: Bool -> RouteOpts -> RouteOpts

    yesod-core Yesod.Core.Dispatch

    No documentation available.

  2. setCookie :: MonadHandler m => SetCookie -> m ()

    yesod-core Yesod.Core.Handler

    Set the cookie on the client.

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

  4. 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 /.

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

  6. setHeader :: MonadHandler m => Text -> Text -> m ()

    yesod-core Yesod.Core.Handler

    Deprecated: Please use addHeader instead

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

  8. setMessage :: MonadHandler m => Html -> m ()

    yesod-core Yesod.Core.Handler

    Calls addMessage with an empty status

  9. setMessageI :: (MonadHandler m, RenderMessage (HandlerSite m) msg) => msg -> m ()

    yesod-core Yesod.Core.Handler

    Calls addMessageI with an empty status

  10. setSession :: MonadHandler m => Text -> Text -> m ()

    yesod-core Yesod.Core.Handler

    Set a variable in the user's session. The session is handled by the clientsession package: it sets an encrypted and hashed cookie on the client. This ensures that all data is secure and not tampered with.

Page 219 of many | Previous | Next