package cohttp-curl-lwt

  1. Overview
  2. Docs

Module Cohttp_curl_lwt.ResponseSource

Response for the http requests

Sourcetype 'a t

'a t represents a response for a request. 'a determines how the response body is handled

Sourceval response : _ t -> (Http.Response.t, Error.t) result Lwt.t
Sourceval body : 'a t -> ('a, Error.t) result Lwt.t
Sourcemodule Expert : sig ... end