Does anyone know what events are built-in in Socket.io? For example: connection, disconnect, join etc.
connection
disconnect
join
Here is all I found in the official docs:
Client-side events for socket.io object:
socket.io
connect
connect_error
Object
connect_timeout
reconnect
Number
reconnect_attempt
reconnecting
reconnect_error
reconnect_failed
reconnectionAttempts
Client-side events for socket object:
socket
error
Server-side events:
Socket
For the current version (1.3.4) the reconnect_attempt and reconnecting client-side events are synonyms.
1.3.4
1.4m articles
1.4m replys
5 comments
57.0k users