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.

  1. WrongRequestBodyStreamSize :: Word64 -> Word64 -> HttpExceptionContent

    http-conduit Network.HTTP.Client.Conduit

    The request body provided did not match the expected size. Provides the expected and actual size.

  2. defaultRequest :: Request

    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.

  3. getOriginalRequest :: Response a -> Request

    http-conduit Network.HTTP.Client.Conduit

    Retrieve the orignal Request from a Response Note that the requestBody is not available and always set to empty.

  4. insertCookiesIntoRequest :: Request -> CookieJar -> UTCTime -> (Request, CookieJar)

    http-conduit Network.HTTP.Client.Conduit

    This applies the computeCookieString to a given Request

  5. parseRequest :: MonadThrow m => String -> m Request

    http-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 parseUrlThrow

  6. parseRequest_ :: String -> Request

    http-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.

  7. proxyFromRequest :: ProxyOverride

    http-conduit Network.HTTP.Client.Conduit

    Get the proxy settings from the Request itself. Since 0.4.7

  8. requestBodySource :: Int64 -> ConduitM () ByteString IO () -> RequestBody

    http-conduit Network.HTTP.Client.Conduit

    No documentation available.

  9. requestBodySourceChunked :: ConduitM () ByteString IO () -> RequestBody

    http-conduit Network.HTTP.Client.Conduit

    No documentation available.

  10. requestFromURI :: MonadThrow m => URI -> m Request

    http-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.

Page 175 of many | Previous | Next