package happy-eyeballs-mirage

  1. Overview
  2. Docs

Parameters

module T : Mirage_time.S

Signature

include S with module Transport = DNS.Transport and type dns = DNS.t and type flow = S.TCP.flow
module Transport = DNS.Transport
type t
type dns = DNS.t
type flow = S.TCP.flow
val create : ?happy_eyeballs:Happy_eyeballs.t -> ?dns:dns -> ?timer_interval:int64 -> Transport.stack -> t
val connect_host : t -> [ `host ] Domain_name.t -> int list -> ((Ipaddr.t * int) * flow, [> `Msg of string ]) result Lwt.t
val connect_ip : t -> (Ipaddr.t * int) list -> ((Ipaddr.t * int) * flow, [> `Msg of string ]) result Lwt.t
val connect : t -> string -> int list -> ((Ipaddr.t * int) * flow, [> `Msg of string ]) result Lwt.t
val connect_device : ?aaaa_timeout:int64 -> ?v6_connect_timeout:int64 -> ?connect_timeout:int64 -> ?resolve_timeout:int64 -> ?resolve_retries:int -> ?timer_interval:int64 -> dns -> Transport.stack -> t Lwt.t
OCaml

Innovation. Community. Security.