Crate thruster_socketio

Source

Modules§

redis_pubsub

Structs§

SocketIO

Traits§

SocketIOAdapter
SocketIOContext

Functions§

adapter
broadcast
Broadcast a message to all clients connected to a room.
broadcast_binary
Broadcast a binary message to all clients connected to a room.
get_rooms_count
Returns the count of rooms this middleware currently has reference too.
get_sockets_for_room
get_sockets_number_for_room
get sockets number for room
handle_io
Handles any incoming socket.io requests for a particular context by using the passed in handler.
handle_io_with_capacity
Handles any incoming socket.io requests for a particular context by using the passed in handler.
print_sockets_for_room
print all sockets for room

Attribute Macros§

socketio_handler
socketio_listener