package mimic-happy-eyeballs

  1. Overview
  2. Docs
module Transport = DNS.Transport
type t
type dns = DNS.t
type flow = Stack.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 ]) Stdlib.result Lwt.t
val connect_ip : t -> (Ipaddr.t * int) list -> ((Ipaddr.t * int) * flow, [> `Msg of string ]) Stdlib.result Lwt.t
val connect : t -> string -> int list -> ((Ipaddr.t * int) * flow, [> `Msg of string ]) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.