Function addMember

  • Add a connection (via id) to a room. Throws errors if the room does not exist, or the connection is already in the room. Middleware errors also throw.

    Parameters

    • connectionId: string
    • room: string

    Returns Promise<any>