Trait BaseContext

Source
pub trait BaseContext {
    // Provided methods
    fn on_log(&mut self) { ... }
    fn on_done(&mut self) -> bool { ... }
}

Provided Methods§

Source

fn on_log(&mut self)

Called for access log WASM plugins. Not well supported in this crate. Unclear what context this gets called on.

Source

fn on_done(&mut self) -> bool

Called when all processing is complete in the proxy for this context. If returns true, the context is deleted immediately (i.e. dropped). If returns false, then the drop is deferred

Implementors§