package conduit-mirage

  1. Overview
  2. Docs
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_mirageSource

Functorial connection establishment interface that is compatible with the Mirage libraries.

Sourcetype client = [
  1. | `TCP of Ipaddr.t * int
    (*

    address and destination port

    *)
  2. | `TLS of Tls.Config.client * client
  3. | `Vchan of [ `Direct of int * Vchan.Port.t | `Domain_socket of string * Vchan.Port.t ]
]

The type for client configuration values.

Sourceval sexp_of_client : client -> Sexplib0.Sexp.t
Sourceval client_of_sexp : Sexplib0.Sexp.t -> client
Sourceval __client_of_sexp__ : Sexplib0.Sexp.t -> client
Sourcetype server = [
  1. | `TCP of int
    (*

    listening port

    *)
  2. | `TLS of Tls.Config.server * server
  3. | `Vchan of [ `Direct of int * Vchan.Port.t | `Domain_socket ]
]

The type for server configuration values.

Sourceval sexp_of_server : server -> Sexplib0.Sexp.t
Sourceval server_of_sexp : Sexplib0.Sexp.t -> server
Sourceval __server_of_sexp__ : Sexplib0.Sexp.t -> server
Sourcemodule Endpoint (P : Mirage_clock.PCLOCK) : sig ... end
Sourcemodule type S = sig ... end

The signature for conduits

TCP

Sourcemodule TCP (S : Tcpip.Stack.V4V6) : S with type t = S.t and type flow = S.TCP.flow

The signature for conduits

VCHAN

Sourcemodule Vchan (X : Xs_client_lwt.S) (V : Vchan.S.ENDPOINT with type port = Vchan.Port.t) : sig ... end

TLS

Sourcemodule TLS (S : S) : sig ... end
OCaml

Innovation. Community. Security.