Skip to content

Socket#leave(name:String[, fn:Function]):Socket #42

@smart--petea

Description

@smart--petea

Removes the socket from room, and fires optionally a callback fn with err signature (if any)

Rooms are left autmoatically 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions