package mirage-conduit
MirageOS interface to network connections
Install
dune-project
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.SDynamic flows.
type callback = Flow.flow -> unit Lwt.tThe type for callback values.
module type Handler = sig ... endThe signature for runtime handlers
TCP
The type for client connections.
val stackv4 : (module Mirage_stack_lwt.V4 with type t = 'a) -> 'a stackv4VCHAN
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.tmodule type XS = Xs_client_lwt.STLS
The type for client configuration values.
val sexp_of_client : client -> Ppx_sexp_conv_lib.Sexp.tval client_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> clientval __client_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> clientThe type for server configuration values.
val sexp_of_server : server -> Ppx_sexp_conv_lib.Sexp.tval server_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> serverval __server_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> serverval client : Conduit.endp -> client Lwt.tResolve a conduit endpoint into a client configuration.
val server : Conduit.endp -> server Lwt.tResolve a confuit endpoint into a server configuration.
module type S = sig ... endThe signature for Conduit implementations.
module Context (T : Mirage_time_lwt.S) (S : Mirage_stack_lwt.V4) : sig ... end