package dns-stub

  1. Overview
  2. Docs
DNS stub resolver

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dns-10.2.6.tbz
sha256=4c3df263dd4596f8563615fe3644e2fad5978b66a268c3ef352083d7fee0ffc8
sha512=1df298223c753092ae8756d5cbd4c1788f716bb6393fa3e9e484ba5acb9bc6a4e394e654785c4e80330eeea3b2809598704d4b043dad2829bc77d14857ebb295

doc/dns-stub.mirage/Dns_stub_mirage/Make/H/index.html

Module Make.H

include Happy_eyeballs_mirage.S with type stack = S.t and type flow = S.TCP.flow
type t
type stack = S.t
type flow = S.TCP.flow
type getaddrinfo = [ `A | `AAAA ] -> [ `host ] Domain_name.t -> (Ipaddr.Set.t, [ `Msg of string ]) result Lwt.t
val create : ?happy_eyeballs:??? -> ?getaddrinfo:??? -> ?timer_interval:??? -> stack -> t
val inject : t -> getaddrinfo -> unit
val connect_host : t -> ?aaaa_timeout:??? -> ?connect_delay:??? -> ?connect_timeout:??? -> ?resolve_timeout:??? -> ?resolve_retries:??? -> [ `host ] Domain_name.t -> int list -> ((Ipaddr.t * int) * flow, [> `Msg of string ]) result Lwt.t
val connect_ip : t -> ?aaaa_timeout:??? -> ?connect_delay:??? -> ?connect_timeout:??? -> (Ipaddr.t * int) list -> ((Ipaddr.t * int) * flow, [> `Msg of string ]) result Lwt.t
val connect : t -> ?aaaa_timeout:??? -> ?connect_delay:??? -> ?connect_timeout:??? -> ?resolve_timeout:??? -> ?resolve_retries:??? -> string -> int list -> ((Ipaddr.t * int) * flow, [> `Msg of string ]) 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