Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. JWTAuthHeaderMissing :: JWTAuthError e

    webgear-core WebGear.Core.Trait.Auth.JWT

    No documentation available.

  2. type OptionalRequestHeader = RequestHeader 'Optional 'Strict

    webgear-core WebGear.Core.Trait.Header

    A RequestHeader that is optional and parsed strictly

  3. type OptionalResponseHeader = ResponseHeader 'Optional

    webgear-core WebGear.Core.Trait.Header

    A ResponseHeader that is optional

  4. data RequestHeader (e :: Existence) (p :: ParseStyle) (name :: Symbol) val

    webgear-core WebGear.Core.Trait.Header

    A trait for capturing an HTTP request header of specified name and converting it to some type val. The modifiers e and p determine how the missing headers and parsing errors are handled. The header name is compared case-insensitively.

  5. RequestHeader :: RequestHeader (e :: Existence) (p :: ParseStyle) (name :: Symbol) val

    webgear-core WebGear.Core.Trait.Header

    No documentation available.

  6. type RequiredRequestHeader = RequestHeader 'Required 'Strict

    webgear-core WebGear.Core.Trait.Header

    A RequestHeader that is required and parsed strictly

  7. type RequiredResponseHeader = ResponseHeader 'Required

    webgear-core WebGear.Core.Trait.Header

    A ResponseHeader that is required

  8. data ResponseHeader (e :: Existence) (name :: Symbol) val

    webgear-core WebGear.Core.Trait.Header

    A trait for setting a header in the HTTP response. It has a specified name and a value of type val. The header name is compared case-insensitively. The modifier e determines whether the header is mandatory or optional.

  9. ResponseHeader :: ResponseHeader (e :: Existence) (name :: Symbol) val

    webgear-core WebGear.Core.Trait.Header

    No documentation available.

  10. lenientHeader :: forall (name :: Symbol) val h (ts :: [Type]) . (Get h (RequestHeader 'Required 'Lenient name val), ArrowChoice h) => h (With Request ts, HeaderNotFound) Response -> Middleware h ts (RequestHeader 'Required 'Lenient name val ': ts)

    webgear-core WebGear.Core.Trait.Header

    Extract a request header value and convert it to a value of type val. The associated trait attribute has type Either Text val. The parsing is done leniently and any errors are reported in the trait attribute. Example usage:

    lenientHeader @"Content-Length" @Integer errorHandler okHandler
    

Page 226 of many | Previous | Next