package cohttp-lwt-unix

  1. Overview
  2. Docs
module Net : sig ... end
exception Retry
type t
val create : ?finalise:(t -> unit Net.IO.t) -> ?persistent:bool -> ?ctx:Net.ctx -> Net.endp -> t
val connect : ?finalise:(t -> unit Net.IO.t) -> ?persistent:bool -> ?ctx:Net.ctx -> Net.endp -> t Net.IO.t
val shutdown : t -> unit
val close : t -> unit
val is_closed : t -> bool
val length : t -> int
val notify : t -> unit Net.IO.t