Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
data
ResponseHeader (e :: Existence) (name :: Symbol) valwebgear-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.
ResponseHeader :: ResponseHeader (e :: Existence) (name :: Symbol) valwebgear-core WebGear.Core.Trait.Header No documentation available.
-
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
-
webgear-core WebGear.Core.Trait.Header Extract an optional request header value and convert it to a value of type val. The associated trait attribute has type Maybe val; a Nothing value indicates that the header is missing from the request. Example usage:
optionalHeader @"Content-Length" @Integer errorHandler okHandler
-
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 Maybe (Either Text val). The parsing is done leniently. Any parsing errors and missing header are reported in the trait attribute. Example usage:
optionalLenientHeader @"Content-Length" @Integer handler
-
webgear-core WebGear.Core.Trait.Header Set a header value in a response. Example usage:
response' <- setHeader @"Content-Length" -< (response, 42)
-
webgear-core WebGear.Core.Trait.Header Set an optional header value in a response. Setting the header to Nothing will remove it from the response if it was previously set. The header will be considered as optional in all relevant places (such as documentation). Example usage:
response' <- setOptionalHeader @"Content-Length" -< (response, Just 42)
requestHeaderFieldsTooLarge431 :: Set h Status => h () (With Response '[Status])webgear-core WebGear.Core.Trait.Status Request Header Fields Too Large 431 response
PointShapeArrowHead :: Double -> PointShapeChart Graphics.Rendering.Chart.Drawing No documentation available.
_vector_head_style :: VectorStyle -> PointStyleChart Graphics.Rendering.Chart.Plot.Vectors No documentation available.