type t = Happy_eyeballs_mirage.Make(T)(C)(S).t
type getaddrinfo =
[ `A | `AAAA ] ->
[ `host ] Domain_name.t ->
(Ipaddr.Set.t, [ `Msg of string ]) Stdlib.result Lwt.t
val create :
?happy_eyeballs:Happy_eyeballs.t ->
?getaddrinfo:getaddrinfo ->
?timer_interval:int64 ->
stack ->
t
val connect_host :
t ->
?aaaa_timeout:int64 ->
?connect_delay:int64 ->
?connect_timeout:int64 ->
?resolve_timeout:int64 ->
?resolve_retries:int ->
[ `host ] Domain_name.t ->
int list ->
((Ipaddr.t * int) * flow, [> `Msg of string ]) Stdlib.result Lwt.t
val connect_ip :
t ->
?aaaa_timeout:int64 ->
?connect_delay:int64 ->
?connect_timeout:int64 ->
(Ipaddr.t * int) list ->
((Ipaddr.t * int) * flow, [> `Msg of string ]) Stdlib.result Lwt.t
val connect :
t ->
?aaaa_timeout:int64 ->
?connect_delay:int64 ->
?connect_timeout:int64 ->
?resolve_timeout:int64 ->
?resolve_retries:int ->
string ->
int list ->
((Ipaddr.t * int) * flow, [> `Msg of string ]) Stdlib.result Lwt.t
val connect_device :
?aaaa_timeout:int64 ->
?connect_delay:int64 ->
?connect_timeout:int64 ->
?resolve_timeout:int64 ->
?resolve_retries:int ->
?timer_interval:int64 ->
?getaddrinfo:getaddrinfo ->
stack ->
t Lwt.t