Trait jsonrpc_pubsub::SubscribeRpcMethod[][src]

pub trait SubscribeRpcMethod<M: PubSubMetadata>: Send + Sync + 'static {
    fn call(&self, params: Params, meta: M, subscriber: Subscriber);
}
Expand description

Subscribe handler

Required methods

Called when client is requesting new subscription to be started.

Implementors