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.
defaultMessageWidget :: Yesod site => Html -> HtmlUrl (Route site) -> WidgetFor site ()yesod-core Yesod.Core Convert a title and HTML snippet into a Widget. Used primarily for wrapping up error messages for better display.
defaultYesodMiddleware :: Yesod site => HandlerFor site res -> HandlerFor site resyesod-core Yesod.Core Default implementation of yesodMiddleware. Adds the response header "Vary: Accept, Accept-Language", "X-XSS-Protection: 1; mode=block", and performs authorization checks. Since 1.2.0
liftWidget :: MonadWidget m => WidgetFor (HandlerSite m) a -> m ayesod-core Yesod.Core No documentation available.
sslOnlyMiddleware :: Int -> HandlerFor site res -> HandlerFor site resyesod-core Yesod.Core Apply a Strict-Transport-Security header with the specified timeout to all responses so that browsers will rewrite all http links to https until the timeout expires. For security, the max-age of the STS header should always equal or exceed the client sessions timeout. This defends against SSL-stripping man-in-the-middle attacks. It is only effective if a secure connection has already been made; Strict-Transport-Security headers are ignored over HTTP. Since 1.4.7
urlParamRenderOverride :: Yesod site => site -> Route site -> [(Text, Text)] -> Maybe Builderyesod-core Yesod.Core Override the rendering function for a particular URL and query string parameters. One use case for this is to offload static hosting to a different domain name to avoid sending cookies. For backward compatibility default implementation is in terms of urlRenderOverride, probably ineffective Since 1.4.23
widgetToPageContent :: Yesod site => WidgetFor site () -> HandlerFor site (PageContent (Route site))yesod-core Yesod.Core Convert a widget to a PageContent.
yesodMiddleware :: (Yesod site, ToTypedContent res) => HandlerFor site res -> HandlerFor site resyesod-core Yesod.Core A Yesod middleware, which will wrap every handler function. This allows you to run code before and after a normal handler. Default: the defaultYesodMiddleware function. Since: 1.1.6
defaultMiddlewaresNoLogging :: Middlewareyesod-core Yesod.Core.Dispatch All of the default middlewares, excluding logging. Since 1.2.12
mkDefaultMiddlewares :: Logger -> IO Middlewareyesod-core Yesod.Core.Dispatch A default set of middlewares. Since 1.2.0
data
ProvidedRep (m :: Type -> Type)yesod-core Yesod.Core.Handler Internal representation of a single provided representation.