package mirage-conduit

  1. Overview
  2. Docs

Context for MirageOS conduit resolvers

Parameters

module T : Mirage_time_lwt.S
module S : Mirage_stack_lwt.V4

Signature

type t = Resolver_lwt.t * conduit

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.

OCaml

Innovation. Community. Security.