Parameter Make.IO

include Irmin_server.Conn.IO
type flow
type ic
type oc
exception Timeout
val is_closed : ic -> bool
val write_int64_be : oc -> int64 -> unit Lwt.t
val read_int64_be : ic -> int64 Lwt.t
val flush : oc -> unit Lwt.t
val write : oc -> string -> unit Lwt.t
val read_into_exactly : ic -> bytes -> int -> int -> unit Lwt.t
val write_char : oc -> char -> unit Lwt.t
val read_char : ic -> char Lwt.t
val with_timeout : float -> (unit -> 'a Lwt.t) -> 'a Lwt.t
val time : unit -> float
type ctx
val default_ctx : ctx lazy_t
val connect : ctx:ctx -> [ `TLS of [ `Hostname of string ] * [ `IP of Ipaddr.t ] * [ `Port of int ] | `TCP of [ `IP of Ipaddr.t ] * [ `Port of int ] | `Ws of ([ `IP of Ipaddr.t ] * [ `Port of int ]) option * string | `Unix_domain_socket of [ `File of string ] ] -> (ic * oc) Lwt.t
val close : (ic * oc) -> unit Lwt.t