quad_net/quad_socket.rs
1//! Client and server abstraction to make a socket-like connection
2//! on both desktop and web.
3//!
4//! Works through TCP on the desktop and through WebSocket on web.
5//! Server will be capable to receive connections with both TCP and WebSocket
6//! and QuadSocket client will automatically use the only web tech available on
7//! the current platform
8
9pub mod client;
10
11#[cfg(not(target_arch = "wasm32"))]
12pub mod server;
13
14#[cfg(not(target_arch = "wasm32"))]
15mod protocol;