Function wasmtime_wasi_http::add_only_http_to_linker_async

source ยท
pub fn add_only_http_to_linker_async<T>(l: &mut Linker<T>) -> Result<()>
where T: WasiHttpView,
Expand description

A slimmed down version of add_to_linker_async which only adds wasi:http interfaces to the linker.

This is useful when using wasmtime_wasi::add_to_linker_async for example to avoid re-adding the same interfaces twice.