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. invalidFD :: FD

    fast-logger System.Log.FastLogger.Internal

    No documentation available.

  2. isFDValid :: FD -> Bool

    fast-logger System.Log.FastLogger.Internal

    No documentation available.

  3. InvalidArgs :: [Text] -> ErrorResponse

    yesod-core Yesod.Core

    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.

  4. type LiteWidget = WidgetFor LiteApp

    yesod-core Yesod.Core

    No documentation available.

  5. class MonadHandler m => MonadWidget (m :: Type -> Type)

    yesod-core Yesod.Core

    No documentation available.

  6. csrfCheckMiddleware :: HandlerFor site res -> HandlerFor site Bool -> CI ByteString -> Text -> HandlerFor site res

    yesod-core Yesod.Core

    Looks up the CSRF token from the request headers or POST parameters. If the value doesn't match the token stored in the session, this function throws a PermissionDenied error. For details, see the "AJAX CSRF protection" section of Yesod.Core.Handler. Since 1.4.14

  7. csrfSetCookieMiddleware :: HandlerFor site res -> SetCookie -> HandlerFor site res

    yesod-core Yesod.Core

    Takes a SetCookie and overrides its value with a CSRF token, then sets the cookie. See setCsrfCookieWithCookie. For details, see the "AJAX CSRF protection" section of Yesod.Core.Handler. Make sure to set the setCookiePath to the root path of your application, otherwise you'll generate a new CSRF token for every path of your app. If your app is run from from e.g. www.example.com/app1, use app1. The vast majority of sites will just use /. Since 1.4.14

  8. defaultCsrfCheckMiddleware :: Yesod site => HandlerFor site res -> HandlerFor site res

    yesod-core Yesod.Core

    Calls csrfCheckMiddleware with isWriteRequest, defaultCsrfHeaderName, and defaultCsrfParamName as parameters. Since 1.4.14

  9. defaultCsrfMiddleware :: Yesod site => HandlerFor site res -> HandlerFor site res

    yesod-core Yesod.Core

    Calls defaultCsrfSetCookieMiddleware and defaultCsrfCheckMiddleware. For details, see the "AJAX CSRF protection" section of Yesod.Core.Handler. You can chain this middleware together with other middleware like so:

    yesodMiddleware = defaultYesodMiddleware . defaultCsrfMiddleware
    
    or:
    yesodMiddleware app = defaultYesodMiddleware $ defaultCsrfMiddleware $ app
    
    Since 1.4.14

  10. defaultCsrfSetCookieMiddleware :: HandlerFor site res -> HandlerFor site res

    yesod-core Yesod.Core

    Calls csrfSetCookieMiddleware with the defaultCsrfCookieName. The cookie's path is set to /, making it valid for your whole website. Since 1.4.14

Page 625 of many | Previous | Next