network-api-support-0.3.4: Toolkit for building http client libraries over Network.Http.Conduit

Safe HaskellNone
LanguageHaskell98

Network.Api.Support.Core

Synopsis

Documentation

runRequest :: ManagerSettings -> StdMethod -> Text -> RequestTransformer -> Responder b -> IO b Source #

Run a request using the specified settings, method, url and request transformer.

runRequest' :: ManagerSettings -> Text -> RequestTransformer -> Responder b -> IO b Source #

Run a request using the specified settings, url and request transformer. The method | can be set using the setMethod transformer. This is only useful if you require a | custom http method. Prefer runRequest where possible.

runRequestWith :: Manager -> StdMethod -> Text -> RequestTransformer -> Responder b -> IO b Source #

Run a request using the specified settings, method, url and request transformer.

Prefer this to runRequest as recreating the manager every time is very inefficient.

runRequestWith' :: Manager -> Text -> RequestTransformer -> Responder b -> IO b Source #

Run a request using the specified manager, url and request transformer. The method can be set using the setMethod transformer. This is only useful if you require a custom http method. Prefer runRequest where possible.

Prefer this to runRequest' as recreating the manager every time is very inefficient.