-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Modify HTTP requests/responses using context
--
-- Modify outgoing HTTP requests and incoming HTTP responses using
-- context.
@package context-http-client
@version 0.1.0.0
module Network.HTTP.Client.Context
-- | Update the provided ManagerSettings to modify all outgoing
-- Request values, utilizing the calling thread's registered
-- context if present.
--
-- Note that the modifying function can be called multiple times, so be
-- sure to define your function to first check if the Request
-- needs modification. See managerModifyRequest for details.
modifyRequestsWithContext :: Store ctx -> (Maybe ctx -> Request -> IO Request) -> ManagerSettings -> ManagerSettings
-- | Update the provided ManagerSettings to modify all incoming
-- Response values, utilizing the calling thread's registered
-- context if present.
modifyResponsesWithContext :: Store ctx -> (Maybe ctx -> Response BodyReader -> IO (Response BodyReader)) -> ManagerSettings -> ManagerSettings