Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. requestBodyLength :: Request -> RequestBodyLength

    webgear-core WebGear.Core.Request

    See requestBodyLength

  2. requestHeader :: HeaderName -> Request -> Maybe ByteString

    webgear-core WebGear.Core.Request

    Get the value of a request header

  3. requestHeaders :: Request -> RequestHeaders

    webgear-core WebGear.Core.Request

    See requestHeaders

  4. requestMethod :: Request -> Method

    webgear-core WebGear.Core.Request

    See requestMethod

  5. toWaiRequest :: Request -> Request

    webgear-core WebGear.Core.Request

    underlying WAI request

  6. type family Prerequisite t (ts :: [Type])

    webgear-core WebGear.Core.Trait

    Indicates the constraints a trait depends upon as a prerequisite. This is used to assert that a trait t can be extracted from a request only if one or more other traits are present in the trait list ts associated with it. If a trait does not depend on other traits this can be set to the empty contraint ().

  7. requestBody :: forall t mt h (m :: Type -> Type) (ts :: [Type]) . (Handler h m, Get h (Body mt t)) => mt -> h (With Request ts, Text) Response -> Middleware h ts (Body mt t ': ts)

    webgear-core WebGear.Core.Trait.Body

    Middleware to extract a request body. The nextHandler is invoked after successfully extracting the body and the errorHandler is invoked when there is an error. Usage:

    requestBody @Text PlainText errorHandler nextHandler
    

  8. type OptionalRequestHeader = RequestHeader 'Optional 'Strict

    webgear-core WebGear.Core.Trait.Header

    A RequestHeader that is optional and parsed strictly

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

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

    webgear-core WebGear.Core.Trait.Header

    No documentation available.

Page 515 of many | Previous | Next