belka-0.8: HTTP client DSL

Safe HaskellNone
LanguageHaskell2010

Belka.Potoki.Transform

Synopsis

Documentation

request :: ParseHead (ParseBody response) -> Transform Request (Either Text (Either TransportError response)) Source #

Given a specification of how to parse the response, execute the requests, producing the parsed responses.

requestUsingManager :: Manager -> ParseHead (ParseBody response) -> Transform Request (Either Text (Either TransportError response)) Source #

Given an HTTP manager, a specification of how to parse the response, execute the requests, producing the parsed responses.