socketio-next 0.1.0

Socket.IO v4 / Engine.IO v4 client with socket.io-client 4.8 parity: async (tokio) and blocking, rustls or native-tls
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Flavor of Engine.IO transport.
#[derive(Debug, Clone, Copy, Eq, PartialEq, Default)]
pub enum TransportType {
    /// Handshakes with polling, upgrades if possible
    #[default]
    Any,
    /// Handshakes with websocket. Does not use polling.
    Websocket,
    /// Handshakes with polling, errors if upgrade fails
    WebsocketUpgrade,
    /// Handshakes with polling
    Polling,
}