Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
hasValidCsrfParamNamed :: MonadHandler m => Text -> m Boolyesod-core Yesod.Core.Handler Takes a POST parameter name to lookup a CSRF token, and returns whether the value matches the token stored in the session.
invalidArgs :: MonadHandler m => [Text] -> m ayesod-core Yesod.Core.Handler Return a 400 invalid arguments page.
invalidArgsI :: (MonadHandler m, RenderMessage (HandlerSite m) msg) => [msg] -> m ayesod-core Yesod.Core.Handler Return a 400 invalid arguments page.
newIdent :: MonadHandler m => m Textyesod-core Yesod.Core.Handler Get a unique identifier.
provideRep :: (Monad m, HasContentType a) => m a -> Writer (Endo [ProvidedRep m]) ()yesod-core Yesod.Core.Handler Provide a single representation to be used, based on the request of the client. Should be used together with selectRep.
provideRepType :: (Monad m, ToContent a) => ContentType -> m a -> Writer (Endo [ProvidedRep m]) ()yesod-core Yesod.Core.Handler Same as provideRep, but instead of determining the content type from the type of the value itself, you provide the content type separately. This can be a convenience instead of creating newtype wrappers for uncommonly used content types.
provideRepType "application/x-special-format" "This is the content"
-
yesod-core Yesod.Core.Json Provide a JSON representation for usage with selectReps, using aeson's toJSON (aeson >= 0.11: toEncoding) function to perform the conversion.
InvalidArgs :: [Text] -> ErrorResponseyesod-core Yesod.Core.Types Indicates some sort of invalid or missing argument, like a missing query parameter or malformed JSON body. Examples Yesod functions that send this include requireCheckJsonBody and Yesod.Auth.GoogleEmail2. HTTP status: 400.
-
yesod-core Yesod.Core.Types No documentation available.