Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. managerModifyRequest :: ManagerSettings -> Request -> IO Request

    http-client Network.HTTP.Client.Internal

    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

  2. onRequestBodyException :: Request -> SomeException -> IO ()

    http-client Network.HTTP.Client.Internal

    How to deal with exceptions thrown while sending the request. Default: ignore IOExceptions, rethrow all other exceptions. Since: 0.4.6

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

    http-client Network.HTTP.Client.Internal

    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

  4. parseRequest_ :: String -> Request

    http-client Network.HTTP.Client.Internal

    Same as parseRequest, but parse errors cause an impure exception. Mostly useful for static strings which are known to be correctly formatted.

  5. proxyFromRequest :: ProxyOverride

    http-client Network.HTTP.Client.Internal

    Get the proxy settings from the Request itself. Since 0.4.7

  6. requestAction :: IORef (Request -> Manager -> IO (Response BodyReader))

    http-client Network.HTTP.Client.Internal

    No documentation available.

  7. requestBody :: Request -> RequestBody

    http-client Network.HTTP.Client.Internal

    Request body to be sent to the server. Since 0.1.0

  8. requestBuilder :: Request -> Connection -> IO (Maybe (IO ()))

    http-client Network.HTTP.Client.Internal

    No documentation available.

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

    http-client Network.HTTP.Client.Internal

    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.

  10. requestFromURI_ :: URI -> Request

    http-client Network.HTTP.Client.Internal

    Same as requestFromURI, but if the conversion would fail, throws an impure exception.

Page 163 of many | Previous | Next