package git-mirage

  1. Overview
  2. Docs
type endpoint = {
  1. uri : Uri.t;
  2. conduit : Conduit_mirage.t;
  3. resolver : Resolver_lwt.t;
  4. headers : Cohttp.Header.t;
}
include Git.Tcp.NET with type endpoint := endpoint
type socket
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.