Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
headWith :: Options -> Session -> String -> IO (Response ())wreq Network.Wreq.Session head_ :: Session -> String -> IO (Response ())wreq Network.Wreq.Session headers :: Options -> [Header]wreq Network.Wreq.Types Additional headers to send with each request.
let opts = defaults { headers = [("Accept", "*/*")] } getWith opts "http://httpbin.org/get"
header :: forall (scheme :: Scheme) . ByteString -> ByteString -> Option schemereq Network.HTTP.Req Create an Option that adds a header. Note that if you mappend two headers with the same names the leftmost header will win. This means, in particular, that you cannot create a request with several headers of the same name.
headerRedacted :: forall (scheme :: Scheme) . ByteString -> ByteString -> Option schemereq Network.HTTP.Req Same as header, but with redacted values on print.
headers :: HasHeaders a => a -> Headerssnap-core Snap.Core Retrieve the headers from a datatype that has headers.
headers :: HasHeaders a => a -> Headerssnap-core Snap.Internal.Core Retrieve the headers from a datatype that has headers.
headers :: HasHeaders a => a -> Headerssnap-core Snap.Internal.Http.Types Retrieve the headers from a datatype that has headers.
-
vector-sized Data.Vector.Generic.Sized O(1) Yield the first element of a non-empty vector in a monad. See the documentation for indexM for an explanation of why this is useful.
headM :: forall (n :: Natural) a m . (Prim a, Monad m) => Vector (1 + n) a -> m avector-sized Data.Vector.Primitive.Sized O(1) Yield the first element of a non-empty vector in a monad. See the documentation for indexM for an explanation of why this is useful.