Skip to main content

Crate wasmtime_wasi_http_plus

Crate wasmtime_wasi_http_plus 

Source
Expand description

crates.io docs.rs

§WASI HTTP+ for Wasmtime

An enhanced implementation of wasmtime-wasi-http.

Specifically it provides the ability for the caller to configure custom TLS certificates via a custom hook.

The WASI HTTP API does not currently support this feature. Our workaround here is to use (and remove) the following custom headers, which are all URLs to X.509 certificates encoded as PEM (Privacy-Enhanced Mail):

  • XX-Root-Certificates
  • XX-Certificates
  • XX-Private-Key

§License

Like much of the Rust ecosystem, licensed under your choice of either of

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

All code and documentation was written by humans. We do not accept “AI”-generated contributions.

Modules§

request
HTTP request.
tls
TLS configuration.

Structs§

WasiHttpPlusHooks
HTTP hooks for WASI HTTP+.