package git-unix

  1. Overview
  2. Docs
type endpoint = {
  1. uri : Uri.t;
  2. headers : Cohttp.Header.t;
}
include Git.Tcp.NET with type socket = Lwt_unix.file_descr and type endpoint := endpoint
type socket = Lwt_unix.file_descr
type error
val pp_error : Stdlib.Format.formatter -> error -> unit
val read : socket -> Stdlib.Bytes.t -> int -> int -> (int, error) Stdlib.result Lwt.t
val write : socket -> Stdlib.Bytes.t -> int -> int -> (int, error) Stdlib.result Lwt.t
val socket : endpoint -> socket Lwt.t
val close : socket -> unit Lwt.t
OCaml

Innovation. Community. Security.