Trait jsonrpc_core::control::ResponseHandler [] [src]

pub trait ResponseHandler<S, N>: Send {
    fn send(&self, response: S);
    fn notify(&self, notification: N);
}

Trait representing a client waiting for the response and notifications.

Required Methods

Sends a reponse to that client.

Sends a notification to that client.

Implementors