pub fn new(ws: S) -> Self {
        Self {
            id: AtomicU64::new(0),
            ws: Mutex::new(ws),
        }
    }
/// Initializes a new WebSocket Client. The websocket connection must be initiated
/// separately.
Initializes a new WebSocket Client. The websocket connection must be initiated
separately.
Initializes a new WebSocket Client . The websocket connection must be initiated separately .
pub fn new(ws: S) -> Self {
        Self {
            id: AtomicU64::new(0),
            ws: Mutex::new(ws),
        }
    }
pub fn new ( ws : S ) -> Self { Self { id : AtomicU64 :: new ( 0 ) , ws : Mutex :: new ( ws ) , } }
Initializes a new WebSocket Client.
Initializes a new WebSocket Client .
ws
S
ws
S