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 -> Ppx_sexp_conv_lib.Sexp.t
val client_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> client
val __client_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> client
The type for server configuration values.
val sexp_of_server : server -> Ppx_sexp_conv_lib.Sexp.t
val server_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> server
val __server_of_sexp__ : Ppx_sexp_conv_lib.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.