Package conduit 2.1.0

Introduction

The Conduit library abstracts the concerns of establishing connections to peers that may be running within the same host (e.g. in another virtual machine) or on a remote host via TCP. It consists of:

Connection Establishment

Connections are created by identifying remote nodes using an endp value. To ensure portability, the endpoints are translated into concrete connections by separate modules that target Lwt_unix, Async and Mirage. This lets those backends use the appropriate local technique for creating the connection (such as using OpenSSL on Unix, or a pure OCaml TLS+TCP implementation on Mirage, or some other combination).

The modules dealing with connection establishment are:

Name Resolution

This deals with resolving URIs into a list of endp addresses that can then be connected to by the connection establishment modules.

All of the name resolvers conform to the Resolver.S module type. The OS-specific implementations of this interface are:

Mirage Connections

On Mirage, the networking stack is configured via the application of functors to satisfy various signatures. Some of the available functors are:

indexlist

Package info

authors
  • Anil Madhavapeddy
  • Rudi Grinberg
  • Thomas Gazagnaire
  • Thomas Leonard
changes-files
depends
homepage
issues
license
  • ISC
license-files
maintainers
  • anil@recoil.org
online-doc
readme-files
repo
  • git+https://github.com/mirage/ocaml-conduit.git
tags
version
  • 2.1.0