Module Conduit_mirage.Context

Context for MirageOS conduit resolvers

Parameters

module R : Mirage_random.S
module T : Mirage_time.S
module C : Mirage_clock.MCLOCK
module S : Mirage_stack.V4

Signature

The type for contexts of conduit resolvers.

val create : ?⁠tls:bool -> S.t -> t Lwt.t

Create a new context. If tls is specified (by defaut, it is not), set-up the conduit to accept TLS connections.