package conduit-tls

  1. Overview
  2. No Docs
A network connection establishment library

Install

Dune Dependency

Authors

Maintainers

Sources

conduit-v3.0.0.tbz
sha256=8b50119048e8c622b5fc09d2331ab8b9412acdd447c5d674bcc865054033cdbb
sha512=bf8e996276ca9d9393e90f718392916e3b29a56817c38d927ee87a9e81ce608b22dc3e4544fc05077e516f91511b2a96e560d9e7ab917034ba0c23cf61b10f66

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

Tags

org:mirage

Published: 20 Oct 2020

Dependencies (7)

  1. bigstringaf
  2. logs
  3. tls < "0.13.0"
  4. ke
  5. conduit = version
  6. dune
  7. ocaml >= "4.07.0"

Dev Dependencies

None

Conflicts

None

OCaml

Innovation. Community. Security.