package happy-eyeballs-mirage

  1. Overview
  2. Docs

Parameters

module R : Mirage_random.S
module T : Mirage_time.S
module C : Mirage_clock.MCLOCK
module P : Mirage_clock.PCLOCK

Signature

module DNS : sig ... end
type t
val create : ?happy_eyeballs:Happy_eyeballs.t -> ?dns:DNS.t -> ?timer_interval:int64 -> S.t -> t
val connect_host : t -> [ `host ] Domain_name.t -> int list -> ((Ipaddr.t * int) * S.TCP.flow, [ `Msg of string ]) Stdlib.result Lwt.t
val connect_ip : t -> (Ipaddr.t * int) list -> ((Ipaddr.t * int) * S.TCP.flow, [ `Msg of string ]) Stdlib.result Lwt.t
val connect : t -> string -> int list -> ((Ipaddr.t * int) * S.TCP.flow, [ `Msg of string ]) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.