pub trait UnsubscribeRpcMethod<M>: Send + Sync + 'static {
    type Out: Future<Item = Value, Error = Error> + Send + 'static;
    fn call(&self, id: SubscriptionId, meta: Option<M>) -> Self::Out;
}
Expand description

Unsubscribe handler

Associated Types

Output type

Required methods

Called when client is requesting to cancel existing subscription.

Metadata is not available if the session was closed without unsubscribing.

Implementors