Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=0a63d910865b5473893a170cda51f61388f488ecf4c4b2ed7fe9ec4e2cf66f61
sha512=63c73616c5a4a6436aa9a1c8d2771d70e15789c639aaec6b9a95622aee0b364f18278e88ed769fbae84fefb817bef1c9c81fe41e969f03db99612295a159b536
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
>= "5.7.0" -
conduit-lwt
= version -
ppx_sexp_conv
>= "v0.13.0" - logs
- base-unix
-
dune
>= "2.0" -
ocaml
>= "4.13.0"
Used by (19)
-
aws-s3-lwt
>= "4.6.0" -
cohttp-lwt-unix
>= "4.1.2" & != "6.0.0~beta2" - 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
>= "7.0.0" - opencage
- picos_meta
-
resp-unix
!= "0.10.0" -
resto-cohttp-server
>= "0.6.1" -
stog_server
>= "1.0.0"
Build status
Results of building conduit-lwt-unix with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. 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 (this version) | n/a | good | good | good | good |
| 6.2.3 | 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