nash-ws 0.2.1

nash-ws is a web and native stream based WebSocket client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[cfg(not(target_arch = "wasm32"))]
mod switch {
    mod tungstenite;
    pub use tungstenite::*;
}

#[cfg(target_arch = "wasm32")]
mod switch {
    mod web_sys;
    pub use self::web_sys::*;
}

pub use switch::*;