WasiHttpView

Trait WasiHttpView 

Source
pub trait WasiHttpView: Send {
    // Required method
    fn http(&mut self) -> WasiHttpCtxView<'_>;
}
Available on crate feature p3 only.
Expand description

A trait which provides internal WASI HTTP state.

Required Methods§

Source

fn http(&mut self) -> WasiHttpCtxView<'_>

Return a WasiHttpCtxView from mutable reference to self.

Implementors§