package conduit
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=7b4dd1faca7ed4dc77c1b5d765fca9053209dcfcb2c379d666a19314d8f77e72
sha512=2f0baaa0b1d99874c12b2382ba2f95989a782c3b37ccc06fa69c61efb068100c0bf904f6e04d6ec64fd2346d696f0c97870f9f5a740ff278d51820af28ed0ac1
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 mainConduitmoduleconduit-lwt: the portable Lwt implementationconduit-lwt-unix: the Lwt/Unix implementationconduit-asyncthe Jane Street Async implementationconduit-mirage: the MirageOS compatible implementation
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: http://docs.mirage.io/
- WWW: https://github.com/mirage/ocaml-conduit
- E-mail: mirageos-devel@lists.xenproject.org
- Bugs: https://github.com/mirage/ocaml-conduit/issues
Dependencies (9)
- ipaddr-sexp
-
ipaddr
>= "4.0.0" -
logs
>= "0.5.0" - uri
- astring
- sexplib
-
ppx_sexp_conv
>= "v0.13.0" - dune
-
ocaml
>= "4.03.0"
Dev Dependencies
None
Optional Dependencies
None
Used by (8)
-
cohttp-mirage
< "6.1.0" -
conduit-async
= "2.1.0" -
conduit-lwt
= "2.1.0" -
h2-mirage
< "0.5.0" - irmin-cli
- irmin-unix
- prof_spacetime
-
websocket
>= "2.13" & < "2.15"
Conflicts
None
Build status
Results of building conduit with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. 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.
This version is not in the latest run; the versions below are.
| 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 | 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