Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=3a4684bb1485b1f247d6084dd0a356e1027e92c2cd467b35cabd59a764423e79
sha512=9fdb07540ae495e820e454a81f333551c18d3207c974adf35719198b93ff3f3d368f6558af8a80b6bd2af720ec6cbd274e7eecb816ac87384bcf8ac0d87357d3
Description
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 mainConduitmoduleconduit-lwt: the portable Lwt implementationconduit-lwt-unix: the Lwt/Unix implementationconduit-asyncthe Jane Street Async implementationconduit-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
- API Docs: https://mirage.github.io/ocaml-conduit/
- WWW: https://github.com/mirage/ocaml-conduit
- E-mail: mirageos-devel@lists.xenproject.org
- Bugs: https://github.com/mirage/ocaml-conduit/issues
Dependencies (11)
- ca-certs
- ipaddr-sexp
-
ipaddr
>= "4.0.0" -
uri
>= "1.9.4" -
lwt
>= "3.0.0" -
conduit-lwt
= version -
ppx_sexp_conv
>= "v0.13.0" - logs
- base-unix
-
dune
>= "2.0" -
ocaml
>= "4.08.0"
Used by (20)
-
aws-s3-lwt
>= "4.6.0" -
cohttp-lwt-unix
>= "4.1.2" & < "6.1.0" - cohttp-server-lwt-unix
-
comby
< "1.7.0" - current_web
-
eliom
>= "13.0.0" -
github-hooks-unix
>= "0.5.0" - grpc-examples
- irmin-cli
- irmin-client
- irmin-server
- irmin-unix
- links
-
ocsigenserver
>= "3.0.0" - opencage
- picos_meta
-
resp-unix
!= "0.10.0" -
resto-cohttp-server
>= "0.6.1" -
stog_server
>= "1.0.0" -
websocket-lwt-unix
>= "2.17"
Build status
Results of building conduit-lwt-unix with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 8.0.0 | n/a | good | good | good | good |
| 6.2.3 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure