package git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = private {
  1. scheme : [ `SSH of string | `Git | `HTTP of (string * string) list | `HTTPS of (string * string) list ];
  2. port : int option;
  3. path : string;
  4. host : [ `Addr of Ipaddr.t | `Domain of [ `host ] Domain_name.t ];
}
val pp : t Fmt.t
val of_string : string -> (t, [> `Msg of string ]) result
val with_headers_if_http : (string * string) list -> t -> t

with_headers_if_http hdrs edn if endpoint edn is `HTTP or `HTTPS adds hdrs to edn

val to_ctx : t -> Mimic.ctx -> Mimic.ctx
OCaml

Innovation. Community. Security.