[][src]Function jsonrpc_ws_client::connect

pub fn connect<T>(
    url: &str
) -> Result<impl Future<Item = T, Error = RpcError>, Error> where
    T: From<RpcChannel>, 

Connect to a JSON-RPC websocket server.

Uses an unbuffered channel to queue outgoing rpc messages.