Skip to content

Why is the SocketNamespace#emit api private? #538

Closed
@coreh

Description

@coreh

The @api for SocketNamespace#emit is labeled as private: https://github.com/LearnBoost/socket.io/blob/master/lib/namespace.js#L183

/**
 * Emits to everyone (override)
 *
 * @api private
 */

Is this method really meant to be private, or was it labeled incorectly? Is there a way to achieve this functionality without resorting to io.sockets.emit()?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions