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 : Format.formatter -> error -> unit
val read : socket -> Bytes.t -> int -> int -> (int, error) result Lwt.t
val write : socket -> Bytes.t -> int -> int -> (int, error) result Lwt.t
val socket : endpoint -> socket Lwt.t
val close : socket -> unit Lwt.t
OCaml

Innovation. Community. Security.