Crate socketio_rs

Source

Structs§

Client
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.
Packet
A packet which gets sent or received during in the socket.io protocol.
Server
ServerBuilder
ServerSocket
Socket

Enums§

Error
Enumeration of all possible errors in the socket.io context.
Event
An Event in socket.io could either (Message, Error) or custom.
PacketType
An enumeration of the different Packet types in the socket.io protocol.
Payload
A type which represents a payload in the socket.io context. The enum is used for both representing data that’s send and data that’s received.
TransportType
Flavor of Engine.IO transport.

Type Aliases§

AckId
Result