package cohttp-curl-lwt

  1. Overview
  2. Docs

Response for the http requests

type 'a t

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

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

Innovation. Community. Security.