package conduit-mirage

  1. Overview
  2. Docs

Module Conduit_mirage.TCPSource

The signature for conduits

Parameters

Signature

Sourcetype flow = S.TCP.flow

The type for networking flows.

Sourcetype t = S.t

The type for handlers.

Sourcemodule Flow : Mirage_flow.S with type flow = flow

The type for flows.

Sourceval connect : t -> client -> flow Lwt.t

Connect a conduit using client configuration.

Sourceval listen : t -> server -> (flow -> unit Lwt.t) -> unit Lwt.t

Listen to a conduit using a server configuration.

OCaml

Innovation. Community. Security.