package mirage-conduit
MirageOS interface to network connections
Install
Dune Dependency
Authors
Maintainers
Sources
conduit-v1.5.0.tbz
sha256=06b6476ba4d8caf4cbfccbf7fd181cb2e5fe459e5e8e4992617fd2d7bebcbfd1
sha512=8bddae1a238d58d1b59520afb4f627c4beaf9b5355cacc4087e6667e678392cbc681777e32874ee033ffe40da8a7f0d3bab38eed64f25d201294a9c3e3476978
doc/mirage-conduit/Conduit_mirage/index.html
Module Conduit_mirage
Functorial connection establishment interface that is compatible with the Mirage libraries.
module Flow : Mirage_flow_lwt.S
Dynamic flows.
type callback = Flow.flow -> unit Lwt.t
The type for callback values.
module type Handler = sig ... end
The signature for runtime handlers
TCP
The type for client connections.
val stackv4 : (module Mirage_stack_lwt.V4 with type t = 'a) -> 'a stackv4
VCHAN
type vchan_client = [
| `Vchan of [ `Direct of int * Vchan.Port.t | `Domain_socket of string * Vchan.Port.t ]
]
module type VCHAN = Vchan.S.ENDPOINT with type port = Vchan.Port.t
module type XS = Xs_client_lwt.S
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.
module Context (T : Mirage_time_lwt.S) (S : Mirage_stack_lwt.V4) : sig ... end