Module asynchronous

Module asynchronous 

Source
Expand description

Asynchronous version of the socket.io client. This module contains the async crate::asynchronous::Client as well as a builder (crate::asynchronous::ClientBuilder) that allows for configuring a client.

Macros§

async_any_callback
A macro to wrap an async callback function to be used in the client.
async_callback
A macro to wrap an async callback function to be used in the client.

Structs§

Client
A socket which handles communication with the server. It’s initialized with a specific address as well as an optional namespace to connect to. If None is given the client will connect to the default namespace "/".
ClientBuilder
A builder class for a socket.io socket. This handles setting up the client and configuring the callback, the namespace and metadata of the socket. If no namespace is specified, the default namespace / is taken. The connect method acts the build method and returns a connected Client.
ReconnectSettings
Settings that can be updated before reconnecting to a server