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.

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

  2. defaultYesodMiddleware :: Yesod site => HandlerFor site res -> HandlerFor site res

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

  3. liftWidget :: MonadWidget m => WidgetFor (HandlerSite m) a -> m a

    yesod-core Yesod.Core

    No documentation available.

  4. sslOnlyMiddleware :: Int -> HandlerFor site res -> HandlerFor site res

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

  5. urlParamRenderOverride :: Yesod site => site -> Route site -> [(Text, Text)] -> Maybe Builder

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

  6. widgetToPageContent :: Yesod site => WidgetFor site () -> HandlerFor site (PageContent (Route site))

    yesod-core Yesod.Core

    Convert a widget to a PageContent.

  7. yesodMiddleware :: (Yesod site, ToTypedContent res) => HandlerFor site res -> HandlerFor site res

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

  8. defaultMiddlewaresNoLogging :: Middleware

    yesod-core Yesod.Core.Dispatch

    All of the default middlewares, excluding logging. Since 1.2.12

  9. mkDefaultMiddlewares :: Logger -> IO Middleware

    yesod-core Yesod.Core.Dispatch

    A default set of middlewares. Since 1.2.0

  10. data ProvidedRep (m :: Type -> Type)

    yesod-core Yesod.Core.Handler

    Internal representation of a single provided representation.

Page 626 of many | Previous | Next