/var/www/greso.tech/server/nsm/node_modules/socket.io/dist
NameSizeModeActions
broadcast-operator.d.ts106480644editdlrm
broadcast-operator.js149160644editdlrm
client.d.ts28580644editdlrm
client.js78490644editdlrm
index.d.ts188630644editdlrm
index.js274480644editdlrm
namespace.d.ts165570644editdlrm
namespace.js193830644editdlrm
parent-namespace.d.ts14130644editdlrm
parent-namespace.js33980644editdlrm
socket.d.ts212710644editdlrm
socket.js300730644editdlrm
typed-events.d.ts69710644editdlrm
typed-events.js25900644editdlrm
uws.d.ts1710644editdlrm
uws.js55870644editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/socket.io/dist/parent-namespace.d.ts (1413B)
import { Namespace } from "./namespace"; import type { Server, RemoteSocket } from "./index"; import type { EventParams, EventNames, EventsMap, DefaultEventsMap } 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 children; constructor(server: Server); /** * @private */ _initAdapter(): void; emit>(ev: Ev, ...args: EventParams): boolean; createChild(name: string): Namespace; fetchSockets(): Promise[]>; }