Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Functorial interface for resolving URIs to endpoints.
val static :
(string, port:int -> Conduit.endp) Stdlib.Hashtbl.t ->
Resolver_lwt.t
static hosts
constructs a resolver that looks up any resolution requests from the static hosts
hashtable instead of using the system resolver.
val localhost : Resolver_lwt.t
localhost
is a static resolver that has a single entry that maps localhost
to 127.0.0.1
, and fails on all other hostnames.
module Make_with_stack
(R : Mirage_random.S)
(T : Mirage_time.S)
(C : Mirage_clock.MCLOCK)
(S : Mirage_stack.V4) :
sig ... end
Provides a DNS-enabled Resolver_lwt
given a network stack. See Make
.