Socket#leave(name:String[, fn:Function]):Socket
Removes the socket from room
, and fires optionally a callback fn
with err
signature (if any).
Rooms are left automatically upon disconnection.
The mechanics of leaving rooms are handled by the Adapter
that has been configured (see Server#adapter
above), defaulting to socket.io-adapter.
Please login to continue.