package conduit-mirage
Functorial connection establishment interface that is compatible with the Mirage libraries.
module type Handler = sig ... end
The signature for runtime handlers
TCP
The type for client connections.
val stackv4 : (module Mirage_stack.V4 with type t = 'a) -> 'a stackv4
VCHAN
TLS
The type for client configuration values.
val sexp_of_client : client -> Sexplib0.Sexp.t
val client_of_sexp : Sexplib0.Sexp.t -> client
val __client_of_sexp__ : Sexplib0.Sexp.t -> client
The type for server configuration values.
val sexp_of_server : server -> Sexplib0.Sexp.t
val server_of_sexp : Sexplib0.Sexp.t -> server
val __server_of_sexp__ : Sexplib0.Sexp.t -> server
val client : Conduit.endp -> client Lwt.t
Resolve a conduit endpoint into a client configuration.
val server : Conduit.endp -> server Lwt.t
Resolve a confuit endpoint into a server configuration.
module type S = sig ... end
The signature for Conduit implementations.