Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

socket io leave all rooms

// Function to get socket to leave all rooms it's connected to.
socket.leaveAll();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #socket #io #leave #rooms
ADD COMMENT
Topic
Name
3+8 =