/opt/canhelp/node_modules/socket.io/dist
NameSizeModeActions
broadcast-operator.d.ts106100644editdlrm
broadcast-operator.js148440644editdlrm
client.d.ts28650644editdlrm
client.js81660644editdlrm
index.d.ts203920644editdlrm
index.js284010644editdlrm
namespace.d.ts163670644editdlrm
namespace.js193410644editdlrm
parent-namespace.d.ts14420644editdlrm
parent-namespace.js35510644editdlrm
socket-types.d.ts16230644editdlrm
socket-types.js2670644editdlrm
socket.d.ts197180644editdlrm
socket.js301850644editdlrm
typed-events.d.ts100440644editdlrm
typed-events.js25900644editdlrm
uws.d.ts1710644editdlrm
uws.js56740644editdlrm
Edit: /opt/canhelp/node_modules/socket.io/dist/parent-namespace.d.ts (1442B)
import { Namespace } from "./namespace"; import type { Server, RemoteSocket } from "./index"; import type { EventParams, EventsMap, DefaultEventsMap, EventNamesWithoutAck } from "./typed-events"; /** * A parent namespace is a special {@link Namespace} that holds a list of child namespaces which were created either * with a regular expression or with a function. * * @example * const parentNamespace = io.of(/\/dynamic-\d+/); * * parentNamespace.on("connection", (socket) => { * const childNamespace = socket.nsp; * } * * // will reach all the clients that are in one of the child namespaces, like "/dynamic-101" * parentNamespace.emit("hello", "world"); * */ export declare class ParentNamespace extends Namespace { private static count; private readonly children; constructor(server: Server); /** * @private */ _initAdapter(): void; emit>(ev: Ev, ...args: EventParams): boolean; createChild(name: string): Namespace; fetchSockets(): Promise[]>; }