Skip to content
Cinch
← Net.Http.Client API referenceSAMPLE LISTING
cinch-http / 0.3.0Net/Http/Client.cinch

Declaration source.

This sample listing contains the declarations shown in the API reference. Package implementations will appear here when real package data is connected.

module Net.Http.Client where
3-- Send a GET request. Connection failures remain explicit in Result.
4get :: String ->{Io r} Result HttpError Response
5
6-- Send a request with an explicit method, headers, and body.
7send :: Request ->{Io r} Result HttpError Response
8