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.
-
tabular Text.Tabular No documentation available.
-
tabular Text.Tabular No documentation available.
-
turtle Turtle.Prelude The first line with the header
module WebGear.Core.Trait.
Header Traits and middlewares to handle request and response headers. There are a number of ways to extract a header value from a request: The header middleware can extract a header value trait and invoke another handler. An error handler is invoked if the header is missing or the parsing fails. The optionalHeader middleware is similar but will not invoke the error handling in case the header is missing. Instead, the trait value will be set to Nothing in that case. The lenientHeader middleware requires the header to be present. But the trait attribute will be set to Left msg if an error occurs while parsing it to a Haskell value. Here msg will indicate the error in parsing. Finally, we have optionalLenientHeader which combines the behaviors of optionalHeader and lenientHeader. In this case, the header extraction never fails. Missing headers and parse errors are indicated in the trait attribute passed to next handler. A response header can be set using setHeader or setOptionalHeader arrows. They accept a witnessed response and a header value and sets the header in the response. You can generate an input response object using functions from WebGear.Core.Trait.Status module.
-
webgear-core WebGear.Core.Trait.Header Indicates a missing header
HeaderNotFound :: HeaderNotFoundwebgear-core WebGear.Core.Trait.Header No documentation available.
-
webgear-core WebGear.Core.Trait.Header Error in converting a header
HeaderParseError :: Text -> HeaderParseErrorwebgear-core WebGear.Core.Trait.Header No documentation available.
-
FontyFruity Graphics.Text.TrueType.Internal Header flags.
HeaderFlags :: Bool -> Bool -> Bool -> Bool -> Bool -> HeaderFlagsFontyFruity Graphics.Text.TrueType.Internal No documentation available.