Struct jsonrpc_core::request_handler::RequestHandler
[−]
[src]
pub struct RequestHandler {
// some fields omitted
}pub struct RequestHandler {
// some fields omitted
}impl RequestHandler[src]fn new() -> Selffn add_method<C>(&self, name: String, command: Box<C>) where C: MethodCommand + 'staticfn add_methods(&self, methods: HashMap<String, Box<MethodCommand>>)fn add_notification<C>(&self, name: String, command: Box<C>) where C: NotificationCommand + 'staticfn add_notifications(&self, notifications: HashMap<String, Box<NotificationCommand>>)fn handle_request(&self, request: Request) -> Option<Response>