/// Creates a new connector for all addresses
///
/// Returns a websocket connector for connecting over insecure websockets to a
/// server. Address should be the full URL of the server, i.e.
/// "ws://127.0.0.1:12345"
Creates a new connector for all addresses
Returns a websocket connector for connecting over insecure websockets to a
server. Address should be the full URL of the server, i.e.
Creates a new connector for all addresses Returns a websocket connector for connecting over insecure websockets to a server . Address should be the full URL of the server i . e .
pub fn new(address: &str) -> Self {
    Self {
      address: address.to_owned(),
      disconnect_notifier: Arc::new(Notify::new()),
    }
  }
pub fn new ( address : & str ) -> Self { Self { address : address . to_owned ( ) , disconnect_notifier : Arc :: new ( Notify :: new ( ) ) , } }
Creates a new connector for all addresses
Returns a websocket connector for connecting over insecure websockets to a
server.
Creates a new connector for all addresses Returns a websocket connector for connecting over insecure websockets to a server .
address
&str