package conduit-mirage

  1. Overview
  2. Docs

Module type Conduit_mirage.HandlerSource

The signature for runtime handlers

Sourcetype t

The type for runtime handlers.

Sourcetype client

The type for client configuration values.

Sourceval sexp_of_client : client -> Sexplib0.Sexp.t
Sourceval client_of_sexp : Sexplib0.Sexp.t -> client
Sourcetype server

The type for server configuration values.

Sourceval sexp_of_server : server -> Sexplib0.Sexp.t
Sourceval server_of_sexp : Sexplib0.Sexp.t -> server
Sourceval connect : t -> client -> Flow.flow Lwt.t

Connect a conduit using client configuration.

Sourceval listen : t -> server -> callback -> unit Lwt.t

Listen to a conduit using a server configuration.

OCaml

Innovation. Community. Security.