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.
renderHeader :: RenderHeader h => h -> ByteStringhttp-media Network.HTTP.Media.RenderHeader Render a header value to a UTF-8 ByteString.
SectionHeader :: Int -> GtkDoc -> Tokenhaskell-gi Data.GI.CodeGen.GtkDoc A section header of the given depth.
BottomOfHeadAsync :: !BottomOfHeadAsync master -> ScriptLoadPosition masteryesod-core Yesod.Core No documentation available.
type
BottomOfHeadAsync master = [Text] -> Maybe HtmlUrl Route master -> HtmlUrl Route masteryesod-core Yesod.Core No documentation available.
BottomOfHeadBlocking :: ScriptLoadPosition masteryesod-core Yesod.Core No documentation available.
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.
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.
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.
defaultCsrfHeaderName :: CI ByteStringyesod-core Yesod.Core.Handler The default header name for the CSRF token ("X-XSRF-TOKEN").
hasValidCsrfHeaderNamed :: MonadHandler m => CI ByteString -> m Boolyesod-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.