Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
headWith :: StringLike s => Options -> s -> IO (Response ())wreq-stringless Network.Wreq.StringLess No documentation available.
head_ :: StringLike s => s -> IO (Response ())wreq-stringless Network.Wreq.StringLess No documentation available.
header :: HeaderName -> Lens' Options [ByteString]wreq-stringless Network.Wreq.StringLess A lens onto all headers with the given name (there can legitimately be zero or more). Example:
let opts = defaults & header "Accept" .~ ["*/*"] getWith opts "http://httpbin.org/get"
headers :: Lens' Options [Header]wreq-stringless Network.Wreq.StringLess A lens onto all headers (there can legitimately be zero or more). In this example, we print all the headers sent by default with every request.
print (defaults ^. headers)
headWith :: StringLike s => Options -> Session -> s -> IO (Response ())wreq-stringless Network.Wreq.StringLess.Session No documentation available.
head_ :: StringLike s => Session -> s -> IO (Response ())wreq-stringless Network.Wreq.StringLess.Session No documentation available.
type
Header = (HeaderName, ByteString)http-types Network.HTTP.Types A full HTTP header field with the name and value separated. E.g. "Content-Length: 28" parsed into a Header would turn into ("Content-Length", "28")
type
HeaderName = CI ByteStringhttp-types Network.HTTP.Types A case-insensitive name of a header field. This is the part of the header field before the colon: HeaderName: some value
module Network.HTTP.Types.
Header Type and constants for handling HTTP header fields. At the bottom are also some functions to handle certain header field values.
type
Header = (HeaderName, ByteString)http-types Network.HTTP.Types.Header A full HTTP header field with the name and value separated. E.g. "Content-Length: 28" parsed into a Header would turn into ("Content-Length", "28")