Skip to main content

default_hooks

Function default_hooks 

Source
pub fn default_hooks() -> &'static mut dyn WasiHttpHooks
Available on crate features p2 and default-send-request only.
Expand description

Returns a value suitable for the WasiHttpCtxView::hooks field which has the default behavior for wasi:http.