Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

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

  1. renderHeader :: RenderHeader h => h -> ByteString

    http-media Network.HTTP.Media.RenderHeader

    Render a header value to a UTF-8 ByteString.

  2. SectionHeader :: Int -> GtkDoc -> Token

    haskell-gi Data.GI.CodeGen.GtkDoc

    A section header of the given depth.

  3. BottomOfHeadAsync :: !BottomOfHeadAsync master -> ScriptLoadPosition master

    yesod-core Yesod.Core

    No documentation available.

  4. type BottomOfHeadAsync master = [Text] -> Maybe HtmlUrl Route master -> HtmlUrl Route master

    yesod-core Yesod.Core

    No documentation available.

  5. BottomOfHeadBlocking :: ScriptLoadPosition master

    yesod-core Yesod.Core

    No documentation available.

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

    yesod-core Yesod.Core.Handler

    Set an arbitrary response header. Note that, while the data type used here is Text, you must provide only ASCII value to be HTTP compliant.

  7. checkCsrfHeaderNamed :: MonadHandler m => CI ByteString -> m ()

    yesod-core Yesod.Core.Handler

    Takes a header name to lookup a CSRF token. If the value doesn't match the token stored in the session, this function throws a PermissionDenied error.

  8. checkCsrfHeaderOrParam :: (MonadHandler m, MonadLogger m) => CI ByteString -> Text -> m ()

    yesod-core Yesod.Core.Handler

    Checks that a valid CSRF token is present in either the request headers or POST parameters. If the value doesn't match the token stored in the session, this function throws a PermissionDenied error.

  9. defaultCsrfHeaderName :: CI ByteString

    yesod-core Yesod.Core.Handler

    The default header name for the CSRF token ("X-XSRF-TOKEN").

  10. hasValidCsrfHeaderNamed :: MonadHandler m => CI ByteString -> m Bool

    yesod-core Yesod.Core.Handler

    Takes a header name to lookup a CSRF token, and returns whether the value matches the token stored in the session.

Page 165 of many | Previous | Next