[−][src]Function jsonrpc_core_client::transports::ws::try_connect
pub fn try_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.
Returns Err
if the url
is invalid.