[−][src]Trait jsonrpc::client::Transport
An interface for a transport over which to use the JSONRPC protocol.
Required methods
fn send_request(&self, _: Request) -> Result<Response, Error>
Send an RPC request over the transport.
fn send_batch(&self, _: &[Request]) -> Result<Vec<Response>, Error>
Send a batch of RPC requests over the transport.
fn fmt_target(&self, f: &mut Formatter) -> Result
Format the target of this transport. I.e. the URL/socket/...