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.
requestBodyLength :: Request -> RequestBodyLengthwebgear-core WebGear.Core.Request requestHeader :: HeaderName -> Request -> Maybe ByteStringwebgear-core WebGear.Core.Request Get the value of a request header
requestHeaders :: Request -> RequestHeaderswebgear-core WebGear.Core.Request See requestHeaders
requestMethod :: Request -> Methodwebgear-core WebGear.Core.Request See requestMethod
toWaiRequest :: Request -> Requestwebgear-core WebGear.Core.Request underlying WAI request
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 ().
-
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
type
OptionalRequestHeader = RequestHeader 'Optional 'Strictwebgear-core WebGear.Core.Trait.Header A RequestHeader that is optional and parsed strictly
data
RequestHeader (e :: Existence) (p :: ParseStyle) (name :: Symbol) valwebgear-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.
RequestHeader :: RequestHeader (e :: Existence) (p :: ParseStyle) (name :: Symbol) valwebgear-core WebGear.Core.Trait.Header No documentation available.