MODULE REFERENCE
Net.Http.Client
An HTTP client whose network operations appear in its effect signature.
SYNOPSIS
Functions and values
get :: String ->{Io r} Result HttpError ResponseSend a GET request. Connection failures remain explicit in Result.
EXAMPLE
response <- get "https://example.com/"
case response of
Ok value -> status-code value
Err problem -> 0send :: Request ->{Io r} Result HttpError ResponseSend a request with an explicit method, headers, and body.
with-timeout :: Nat -> Request ->{Io r} Result HttpError ResponseSend a request with a timeout expressed in milliseconds.
Since 0.4.0
