(Breaking): Introduction of connect middlewares. It allows to execute code before the connection to the namespace is established. It is useful to check the request, to authenticate the user, to log the connection etc. It is possible to add multiple middlewares and to chain them.
The SocketRef extractor is now Clone. Be careful to drop clones when the socket is disconnected to avoid any memory leak.
MSRV: Minimum supported Rust version is now 1.75.
socketioxide
SocketRef
extractor is nowClone
. Be careful to drop clones when the socket is disconnected to avoid any memory leak.