pub trait StatefulMethodHandler<C: ServiceContext>: Send + Sync {
// Required method
fn call(
&self,
context: &C,
params: Option<Value>,
id: Option<RequestId>,
) -> Result<Response, C::Error>;
}
Expand description
Trait for stateful method handlers