package conduit-mirage
A network connection establishment library for MirageOS
Install
Dune Dependency
Authors
Maintainers
Sources
conduit-7.1.0.tbz
sha256=58d2218a07e71706025de38ca0253233e970f35b4cacd37f706941b4cbea57f7
sha512=3d52e16202b443c72801828ab4a08ff2ae36ca03f3991793f6b155770d687718f6646fe85b70d7cadf670e4caf99af42bcf492ee70236f6a9a0d8a425deb03a6
doc/conduit-mirage/Conduit_mirage/index.html
Module Conduit_mirage
Source
Functorial connection establishment interface that is compatible with the Mirage libraries.
Source
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.
Source
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.
TCP
The signature for conduits
VCHAN
Source
module Vchan
(X : Xs_client_lwt.S)
(V : Vchan.S.ENDPOINT with type port = Vchan.Port.t) :
sig ... end