Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
RequestBodyLBS :: ByteString -> RequestBodyhttp-client Network.HTTP.Client No documentation available.
RequestBodyStream :: Int64 -> GivesPopper () -> RequestBodyhttp-client Network.HTTP.Client No documentation available.
RequestBodyStreamChunked :: GivesPopper () -> RequestBodyhttp-client Network.HTTP.Client No documentation available.
WrongRequestBodyStreamSize :: Word64 -> Word64 -> HttpExceptionContenthttp-client Network.HTTP.Client The request body provided did not match the expected size. Provides the expected and actual size.
-
http-client Network.HTTP.Client A default request value, a GET request of localhost/:80, with an empty request body. Note that the default checkResponse does nothing.
getOriginalRequest :: Response a -> Requesthttp-client Network.HTTP.Client Retrieve the orignal Request from a Response Note that the requestBody is not available and always set to empty.
hrFinalRequest :: HistoriedResponse body -> Requesthttp-client Network.HTTP.Client The final request performed. Since 0.4.1
insertCookiesIntoRequest :: Request -> CookieJar -> UTCTime -> (Request, CookieJar)http-client Network.HTTP.Client This applies the computeCookieString to a given Request
managerModifyRequest :: ManagerSettings -> Request -> IO Requesthttp-client Network.HTTP.Client Perform the given modification to a Request before performing it. This function may be called more than once during request processing. see https://github.com/snoyberg/http-client/issues/350 Default: no modification Since 0.4.4
parseRequest :: MonadThrow m => String -> m Requesthttp-client Network.HTTP.Client Convert a URL into a Request. This function defaults some of the values in Request, such as setting method to GET and requestHeaders to []. Since this function uses MonadThrow, the return monad can be anything that is an instance of MonadThrow, such as IO or Maybe. You can place the request method at the beginning of the URL separated by a space, e.g.:
parseRequest "POST http://httpbin.org/post"
Note that the request method must be provided as all capital letters. A Request created by this function won't cause exceptions on non-2XX response status codes. To create a request which throws on non-2XX status codes, see parseUrlThrow