package cohttp-lwt-unix

  1. Overview
  2. Docs

Module Cohttp_lwt_unix.ConnectionSource

Sourcemodule Net : sig ... end
Sourceexception Retry
Sourcetype t
Sourceval create : ?finalise:(t -> unit Net.IO.t) -> ?persistent:bool -> ?ctx:Net.ctx -> Net.endp -> t
Sourceval create_tunnel : ?finalise:(t -> unit Net.IO.t) -> ?ctx:Net.ctx -> t -> string -> t
Sourceval connect : ?finalise:(t -> unit Net.IO.t) -> ?persistent:bool -> ?ctx:Net.ctx -> Net.endp -> t Net.IO.t
Sourceval shutdown : t -> unit
Sourceval close : t -> unit
Sourceval is_closed : t -> bool
Sourceval length : t -> int
Sourceval notify : t -> unit Net.IO.t
Sourceval call : t -> ?headers:Http.Header.t -> ?body:Cohttp_lwt.Body.t -> ?absolute_form:bool -> Http.Method.t -> Uri.t -> (Cohttp.Response.t * Cohttp_lwt.Body.t) Lwt.t
OCaml

Innovation. Community. Security.