package cohttp-curl-lwt

  1. Overview
  2. Docs

Http requests

type 'a t

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

val create : ?timeout_ms:int -> ?headers:Http.Header.t -> Http.Method.t -> uri:string -> input:Source.t -> output:'a Sink.t -> 'a t
module Expert : sig ... end