conduit-tls

A network connection establishment library
Overview Documentation
Description

The conduit library takes care of establishing and listening for TCP and SSL/TLS connections for the Lwt and Async libraries.

The reason this library exists is to provide a degree of abstraction from the precise SSL library used, since there are a variety of ways to bind to a library (e.g. the C FFI, or the Ctypes library), as well as well as which library is used (just OpenSSL for now).

By default, OpenSSL is used as the preferred connection library, but you can force the use of the pure OCaml TLS stack by setting the environment variable CONDUIT_TLS=native when starting your program.

The useful opam packages available that extend this library are:

  • conduit: the main Conduit module
  • conduit-lwt: the portable Lwt implementation
  • conduit-lwt-unix: the Lwt/Unix implementation
  • conduit-async the Jane Street Async implementation
  • conduit-mirage: the MirageOS compatible implementation
Install
Published
20 Oct 2020
Maintainers
Sources
conduit-v3.0.0.tbz
sha256=8b50119048e8c622b5fc09d2331ab8b9412acdd447c5d674bcc865054033cdbb
sha512=bf8e996276ca9d9393e90f718392916e3b29a56817c38d927ee87a9e81ce608b22dc3e4544fc05077e516f91511b2a96e560d9e7ab917034ba0c23cf61b10f66
Dependencies
Reverse Dependencies