A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
make `wasmtime_wasi_http::p3::WasiHttp` public (#11693)
Joel Dice0cffd02ab3e9
diff --git a/crates/wasi-http/src/p3/mod.rs b/crates/wasi-http/src/p3/mod.rsindex 96a4b6d74c..88c6a58cd3 100644--- a/crates/wasi-http/src/p3/mod.rs+++ b/crates/wasi-http/src/p3/mod.rs@@ -42,7 +42,8 @@ pub(crate) type HeaderError = TrappableError<types::HeaderError>;pub(crate) type RequestOptionsResult<T> = Result<T, RequestOptionsError>;pub(crate) type RequestOptionsError = TrappableError<types::RequestOptionsError>;-pub(crate) struct WasiHttp;+/// The type for which this crate implements the `wasi:http` interfaces.+pub struct WasiHttp;impl HasData for WasiHttp {type Data<'a> = WasiHttpCtxView<'a>;