package conduit-lwt-unix

  1. Overview
  2. Docs
A network connection establishment library for Lwt_unix

Install

Dune Dependency

Authors

Maintainers

Sources

conduit-v2.2.2.tbz
sha256=a57cc1843aa7eaaa183a5d08d98a13e78c848b37aabb7b55ee88257c051f68fd
sha512=c2ca50cdae36f6b9cef4053844a4b719e4e065997a2dc6e1858f8c0bc3ce03d5728d10308368f1968154d217dfc84038cd1de007b1168e7adf476dc57af3f513

Description

Tags

org:mirage

Published: 16 Jun 2020

README

conduit -- an OCaml network connection establishment library

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 opam packages available 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

Debugging

Some of the Lwt_unix-based modules use a non-empty CONDUIT_DEBUG environment variable to output debugging information to standard error. Just set this variable when running the program to see what URIs are being resolved to.

Further Informartion

Dependencies (9)

  1. ipaddr-sexp
  2. ipaddr >= "4.0.0"
  3. uri >= "1.9.4"
  4. lwt >= "3.0.0"
  5. conduit-lwt >= "2.1.0" & < "2.3.0"
  6. ppx_sexp_conv >= "v0.12.0"
  7. base-unix
  8. dune
  9. ocaml >= "4.07.0"

Dev Dependencies

None

Used by (20)

  1. aws-s3-lwt >= "4.0.0" & < "4.6.0"
  2. cohttp-lwt-unix >= "2.3.0" & != "3.0.0" & < "4.1.1"
  3. cohttp-server-lwt-unix
  4. comby < "1.7.0"
  5. current_web >= "0.4"
  6. datakit >= "0.12.0"
  7. datakit-ci >= "0.12.0"
  8. git-unix >= "1.11.2" & < "2.0.0"
  9. github-hooks-unix >= "0.5.0"
  10. gremlin
  11. grpc-examples
  12. irmin-cli < "3.9.0"
  13. irmin-http >= "2.9.1" & < "2.10.2"
  14. irmin-unix >= "2.3.0"
  15. links >= "0.9"
  16. ocsigenserver >= "3.0.0"
  17. resp-unix < "0.11.0"
  18. resto-cohttp-server >= "0.6"
  19. websocket-lwt-unix >= "2.17"
  20. yurt >= "0.3"

Conflicts (3)

  1. ssl < "0.5.9"
  2. tls >= "0.14.0"
  3. tls < "0.12.2"
OCaml

Innovation. Community. Security.