Skip to content

Add default event "connection" #294

Answered by Totodore
sikelio asked this question in Q&A
Discussion options

You must be logged in to vote

In the socket.io API, the connection event is an alias of the connect event. Which corresponds to a connection of a socket to a namespace (the default in the example you gave).

https://docs.rs/socketioxide/latest/socketioxide/handler/connect/index.html

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sikelio
Comment options

Answer selected by sikelio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #292 on March 24, 2024 22:05.