Struct Server
json_rpc
pub struct Server { /* fields omitted */ }
impl Server
fn new() -> Server
fn register_method<F>(&mut self, method: &str, f: F) where F: Fn(Json) -> Result<Json, Error> + 'static + Send + Sync,
fn request(&self, str_request: String) -> Option<String>
fn request_async<F>(&self, str_request: String, f_response: F) where F: FnOnce(String) + Send + 'static,