package git-mirage

  1. Overview
  2. Docs
A package to use ocaml-git with MirageOS backend

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.15.0.tbz
sha256=e26cca9f887c95f2c7e9966c1f414f11292522b52b64f218a3c58b4094e055d1
sha512=64ace1d29ba78d634be8eebe55fd49316230f3b156e497c7a05496b104465f5c03b0df898c5374296a33a504d2c21502c1e1a6d39004bd095695e494643d1342

doc/git-mirage.http/Git_mirage_http/Make/argument-3-Happy_eyeballs/index.html

Parameter Make.Happy_eyeballs

type t
type flow = TCP.flow
val happy_eyeballs : t Mimic.value
val resolve : t -> string -> int list -> ((Ipaddr.t * int) * flow, [> `Msg of string ]) result Lwt.t

resolve happy_eyeballs domain_name ports tries to connect the user with the given endpoint. The domain-name can be an IP address or a real domain-name. resolve tries to resolve via a DNS request the given domain_name if it's a real domain-name and it tries to initiate a TCP/IP connection with the destination.

If it's a success, it returns the resource and the user is able to read or write via this resource.

OCaml

Innovation. Community. Security.