Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
WrongRequestBodyStreamSize :: Word64 -> Word64 -> HttpExceptionContenthttp-conduit Network.HTTP.Client.Conduit The request body provided did not match the expected size. Provides the expected and actual size.
-
http-conduit Network.HTTP.Client.Conduit 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-conduit Network.HTTP.Client.Conduit Retrieve the orignal Request from a Response Note that the requestBody is not available and always set to empty.
insertCookiesIntoRequest :: Request -> CookieJar -> UTCTime -> (Request, CookieJar)http-conduit Network.HTTP.Client.Conduit This applies the computeCookieString to a given Request
parseRequest :: MonadThrow m => String -> m Requesthttp-conduit Network.HTTP.Client.Conduit 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 parseUrlThrowparseRequest_ :: String -> Requesthttp-conduit Network.HTTP.Client.Conduit Same as parseRequest, but parse errors cause an impure exception. Mostly useful for static strings which are known to be correctly formatted.
proxyFromRequest :: ProxyOverridehttp-conduit Network.HTTP.Client.Conduit Get the proxy settings from the Request itself. Since 0.4.7
requestBodySource :: Int64 -> ConduitM () ByteString IO () -> RequestBodyhttp-conduit Network.HTTP.Client.Conduit No documentation available.
requestBodySourceChunked :: ConduitM () ByteString IO () -> RequestBodyhttp-conduit Network.HTTP.Client.Conduit No documentation available.
requestFromURI :: MonadThrow m => URI -> m Requesthttp-conduit Network.HTTP.Client.Conduit Convert a URI into a Request. This can fail if the given URI is not absolute, or if the URI scheme is not "http" or "https". In these cases the function will throw an error via MonadThrow. This function defaults some of the values in Request, such as setting method to GET and requestHeaders to []. A Request created by this function won't cause exceptions on non-2XX response status codes.