https-eioversion Documentation on ocaml.org

Authenticated HTTPS client wrapper for Eio (cohttp-eio's ~https hook)

Builds the Uri.t -> flow -> Tls_eio.t wrapper that cohttp-eio's client expects for its ~https hook: system CA bundle detection (via ca-certs), a Tls.Config.client, and the one-time Mirage_crypto_rng seed that TLS handshake needs before it can generate any key/nonce material. Extracted from four independent, byte-identical copies of this code (aws-eio's Aws_tls, obs-loki-eio's Obs_loki_tls, obs-prometheus-eio's Obs_prometheus_tls, and Sun's in-tree Kafka_service_tls) after an unseeded-RNG bug had to be hand-ported across all four. Not a general-purpose TLS or HTTP library — only the narrow wrapper cohttp-eio's ~https parameter needs.

Authorlbendtly
LicenseMIT
Published
Homepagehttps://github.com/loganbnielsen/https-eio
Issue Trackerhttps://github.com/loganbnielsen/https-eio/issues
Maintainerlbendtlynielsen@gmail.com
Dependencies
Source [http] https://github.com/loganbnielsen/https-eio/archive/refs/tags/v0.1.0.tar.gz
md5=c009f83b36950ea806c3f7cb0d02643d
sha512=92b1fab83b510953b6e19f5ef1eda376e6762ae31b5f2b23ae0eb4a62f95cb3e2df74eff828cc773e1dd3a6bb8be6d611cd679c8fdc70b3f9750c8aff72a9aaf
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/https-eio/https-eio.0.1.0/opam
No package is dependent