Function wasmtime_wasi_http::add_only_http_to_linker_sync

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

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

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