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.

  1. responseHeaders :: Response body -> ResponseHeaders

    http-conduit Network.HTTP.Conduit

    Response headers sent by the server. Since 0.1.0

  2. shouldStripHeaderOnRedirect :: Request -> HeaderName -> Bool

    http-conduit Network.HTTP.Conduit

    Decide whether a header must be stripped from the request when following a redirect. Default: keep all headers intact.

  3. type RequestHeaders = [Header]

    http-conduit Network.HTTP.Simple

    A list of Headers. Same type as ResponseHeaders, but useful to differentiate in type signatures.

  4. type ResponseHeaders = [Header]

    http-conduit Network.HTTP.Simple

    A list of Headers. Same type as RequestHeaders, but useful to differentiate in type signatures.

  5. addRequestHeader :: HeaderName -> ByteString -> Request -> Request

    http-conduit Network.HTTP.Simple

    Add a request header name/value combination

  6. getRequestHeader :: HeaderName -> Request -> [ByteString]

    http-conduit Network.HTTP.Simple

    Get all request header values for the given name

  7. getResponseHeader :: HeaderName -> Response a -> [ByteString]

    http-conduit Network.HTTP.Simple

    Get all response header values with the given name

  8. getResponseHeaders :: Response a -> [(HeaderName, ByteString)]

    http-conduit Network.HTTP.Simple

    Get all response headers

  9. setRequestHeader :: HeaderName -> [ByteString] -> Request -> Request

    http-conduit Network.HTTP.Simple

    Set the given request header to the given list of values. Removes any previously set header values with the same name.

  10. setRequestHeaders :: RequestHeaders -> Request -> Request

    http-conduit Network.HTTP.Simple

    Set the request headers, wiping out all previously set headers. This means if you use setRequestHeaders to set some headers and also use one of the other setters that modifies the content-type header (such as setRequestBodyJSON), be sure that setRequestHeaders is evaluated first.

Page 143 of many | Previous | Next