Conduit_mirage
Functorial connection establishment interface that is compatible with the Mirage libraries.
type client = [
|
`TCP of Ipaddr.t * int
address and destination port
*)|
`TLS of Tls.Config.client * client
|
`Vchan of
[ `Direct of int * Vchan.Port.t | `Domain_socket of string * Vchan.Port.t ]
]
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
type server = [
|
`TCP of int
listening port
*)|
`TLS of Tls.Config.server * server
|
`Vchan of [ `Direct of int * Vchan.Port.t | `Domain_socket ]
]
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
module type S = sig ... end
The signature for conduits
The signature for conduits