Function jsonrpc_client_transports::transports::ws::connect[][src]

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

Connect to a JSON-RPC websocket server.

Uses an unbuffered channel to queue outgoing rpc messages.