package happy-eyeballs-mirage

  1. Overview
  2. Docs

Parameters

module T : Mirage_time.S

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.