Struct rump::client::Client
[−]
[src]
pub struct Client { url: String, realm: String, }
A Client defines methods and options for building a Session with a WAMP Router
Examples
To obtain a Session from a client with default settings perform the following:
let session = Client::new("ws://router_address:port/ws", "realm_name").connect().unwrap();
Fields
url | |
realm |