[][src]Trait wascc_host::Middleware

pub trait Middleware: Send + Sync + 'static {
    fn actor_pre_invoke(&self, inv: Invocation) -> Result<Invocation>;
fn actor_post_invoke(
        &self,
        response: InvocationResponse
    ) -> Result<InvocationResponse>;
fn capability_pre_invoke(&self, inv: Invocation) -> Result<Invocation>;
fn capability_post_invoke(
        &self,
        response: InvocationResponse
    ) -> Result<InvocationResponse>; }

The trait that must be implemented by all waSCC middleware

Required methods

Loading content...

Implementors

Loading content...