Unsubscribes the specified sockets from a room.
Unsubscribes the sockets from the room with the specified name. Any messages subsequently broadcast to the room will no longer be received by those sockets.
var Socketio = require('machinepack-sockets');
// Unsubscribes the specified sockets from a room.
socketIds: [ 'a82ghda99319gadgaa3249103' ],
The name of the room to leave.
Unique identifiers of the sockets to subscribe to the room.
[ 'a82ghda99319gadgaa3249103' ]
An unexpected error occurred.