Skip to main content

Crate eioc

Crate eioc 

Source
Expand description

§eioc

Async Engine.IO protocol v4 client for Rust.

§What is the Engine.IO protocol?

The Engine.IO protocol v4 enables full-duplex, low-overhead communication between a client and a server. It is based on the WebSocket protocol and uses HTTP long-polling as fallback if a WebSocket connection cannot be established.

§Usage

Most users will never touch this crate directly. The higher-level sioc crate builds on top of it.

§License

MIT OR Apache-2.0.

Modules§

engine
Engine.IO protocol task.
error
Error types for Engine.IO operations.
packet
Engine.IO packet types.
polling
HTTP long-polling transport tasks for Engine.IO v4.
prelude
Convenience re-exports for common usage.
transport
Engine.IO transport coordination.
websocket
WebSocket transport for Engine.IO v4.

Constants§

ENGINE_IO_VERSION
The Engine.IO protocol version implemented by this crate (EIO query parameter).