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.
getHeaders :: HttpType τ => τ -> Headershttp-common Network.Http.Types Get the Headers from a Request or Response.y
lookupHeader :: Headers -> ByteString -> Maybe ByteStringhttp-common Network.Http.Types No documentation available.
removeHeader :: Headers -> ByteString -> Headershttp-common Network.Http.Types Remove a header from the map. If a field with that name is not present, then this will have no effect.
retrieveHeaders :: Headers -> [(ByteString, ByteString)]http-common Network.Http.Types Get the headers as a field-name,field-value association list.
setHeader :: ByteString -> ByteString -> RequestBuilder ()http-common Network.Http.Types Set a generic header to be sent in the HTTP request. The other methods in the RequestBuilder API are expressed in terms of this function, but we recommend you use them where offered for their stronger types.
updateHeader :: Headers -> ByteString -> ByteString -> Headershttp-common Network.Http.Types Set a header field to the specified value. This will overwrite any existing value for the field. Remember that HTTP fields names are case insensitive!
-
HTTP Link header parser/writer Library for the HTTP Link header as specified in RFC 5988 "Web Linking"
linkHeader :: IsURI uri => Parser [Link uri]http-link-header Network.HTTP.Link.Parser The Attoparsec parser for the Link header.
parseLinkHeader :: IsURI uri => Text -> Maybe [Link uri]http-link-header Network.HTTP.Link.Parser Parses a Link header, returns a Maybe.
parseLinkHeader' :: IsURI uri => Text -> Either String [Link uri]http-link-header Network.HTTP.Link.Parser Parses a Link header, returns an Either, where Left is the Attoparsec error string (probably not a useful one).