Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.147.67.34
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
socket.io /
dist /
Delete
Unzip
Name
Size
Permission
Date
Action
broadcast-operator.d.ts
4.39
KB
-rw-rw-r--
2022-08-30 11:49
broadcast-operator.js
6.6
KB
-rw-rw-r--
2022-08-30 11:49
client.d.ts
2.77
KB
-rw-rw-r--
2022-08-30 11:49
client.js
7.34
KB
-rw-rw-r--
2022-08-30 11:49
index.d.ts
9.65
KB
-rw-rw-r--
2022-08-30 11:49
index.js
18.44
KB
-rw-rw-r--
2022-08-30 11:49
namespace.d.ts
6.48
KB
-rw-rw-r--
2022-08-30 11:49
namespace.js
8.24
KB
-rw-rw-r--
2022-08-30 11:49
parent-namespace.d.ts
932
B
-rw-rw-r--
2022-08-30 11:49
parent-namespace.js
1.95
KB
-rw-rw-r--
2022-08-30 11:49
socket.d.ts
10.03
KB
-rw-rw-r--
2022-08-30 11:49
socket.js
16.38
KB
-rw-rw-r--
2022-08-30 11:49
typed-events.d.ts
4.95
KB
-rw-rw-r--
2022-08-30 11:49
typed-events.js
2.53
KB
-rw-rw-r--
2022-08-30 11:49
uws.d.ts
171
B
-rw-rw-r--
2022-08-30 11:49
uws.js
5.41
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
import { Socket } from "./socket"; import type { Server } from "./index"; import { EventParams, EventNames, EventsMap, StrictEventEmitter, DefaultEventsMap } from "./typed-events"; import type { Client } from "./client"; import type { Adapter, Room, SocketId } from "socket.io-adapter"; import { BroadcastOperator, RemoteSocket } from "./broadcast-operator"; export interface ExtendedError extends Error { data?: any; } export interface NamespaceReservedEventsMap<ListenEvents extends EventsMap, EmitEvents extends EventsMap, ServerSideEvents extends EventsMap, SocketData> { connect: (socket: Socket<ListenEvents, EmitEvents, ServerSideEvents, SocketData>) => void; connection: (socket: Socket<ListenEvents, EmitEvents, ServerSideEvents, SocketData>) => void; } export interface ServerReservedEventsMap<ListenEvents, EmitEvents, ServerSideEvents, SocketData> extends NamespaceReservedEventsMap<ListenEvents, EmitEvents, ServerSideEvents, SocketData> { new_namespace: (namespace: Namespace<ListenEvents, EmitEvents, ServerSideEvents, SocketData>) => void; } export declare const RESERVED_EVENTS: ReadonlySet<string | Symbol>; export declare class Namespace<ListenEvents extends EventsMap = DefaultEventsMap, EmitEvents extends EventsMap = ListenEvents, ServerSideEvents extends EventsMap = DefaultEventsMap, SocketData = any> extends StrictEventEmitter<ServerSideEvents, EmitEvents, NamespaceReservedEventsMap<ListenEvents, EmitEvents, ServerSideEvents, SocketData>> { readonly name: string; readonly sockets: Map<SocketId, Socket<ListenEvents, EmitEvents, ServerSideEvents, SocketData>>; adapter: Adapter; /** @private */ readonly server: Server<ListenEvents, EmitEvents, ServerSideEvents, SocketData>; /** @private */ _fns: Array<(socket: Socket<ListenEvents, EmitEvents, ServerSideEvents, SocketData>, next: (err?: ExtendedError) => void) => void>; /** @private */ _ids: number; /** * Namespace constructor. * * @param server instance * @param name */ constructor(server: Server<ListenEvents, EmitEvents, ServerSideEvents, SocketData>, name: string); /** * Initializes the `Adapter` for this nsp. * Run upon changing adapter by `Server#adapter` * in addition to the constructor. * * @private */ _initAdapter(): void; /** * Sets up namespace middleware. * * @return self * @public */ use(fn: (socket: Socket<ListenEvents, EmitEvents, ServerSideEvents, SocketData>, next: (err?: ExtendedError) => void) => void): this; /** * Executes the middleware for an incoming client. * * @param socket - the socket that will get added * @param fn - last fn call in the middleware * @private */ private run; /** * Targets a room when emitting. * * @param room * @return self * @public */ to(room: Room | Room[]): BroadcastOperator<EmitEvents, SocketData>; /** * Targets a room when emitting. * * @param room * @return self * @public */ in(room: Room | Room[]): BroadcastOperator<EmitEvents, SocketData>; /** * Excludes a room when emitting. * * @param room * @return self * @public */ except(room: Room | Room[]): BroadcastOperator<EmitEvents, SocketData>; /** * Adds a new client. * * @return {Socket} * @private */ _add(client: Client<ListenEvents, EmitEvents, ServerSideEvents>, query: any, fn?: () => void): Socket<ListenEvents, EmitEvents, ServerSideEvents, SocketData>; /** * Removes a client. Called by each `Socket`. * * @private */ _remove(socket: Socket<ListenEvents, EmitEvents, ServerSideEvents, SocketData>): void; /** * Emits to all clients. * * @return Always true * @public */ emit<Ev extends EventNames<EmitEvents>>(ev: Ev, ...args: EventParams<EmitEvents, Ev>): boolean; /** * Sends a `message` event to all clients. * * @return self * @public */ send(...args: EventParams<EmitEvents, "message">): this; /** * Sends a `message` event to all clients. * * @return self * @public */ write(...args: EventParams<EmitEvents, "message">): this; /** * Emit a packet to other Socket.IO servers * * @param ev - the event name * @param args - an array of arguments, which may include an acknowledgement callback at the end * @public */ serverSideEmit<Ev extends EventNames<ServerSideEvents>>(ev: Ev, ...args: EventParams<ServerSideEvents, Ev>): boolean; /** * Called when a packet is received from another Socket.IO server * * @param args - an array of arguments, which may include an acknowledgement callback at the end * * @private */ _onServerSideEmit(args: [string, ...any[]]): void; /** * Gets a list of clients. * * @return self * @public */ allSockets(): Promise<Set<SocketId>>; /** * Sets the compress flag. * * @param compress - if `true`, compresses the sending data * @return self * @public */ compress(compress: boolean): BroadcastOperator<EmitEvents, SocketData>; /** * Sets a modifier for a subsequent event emission that the event data may be lost if the client is not ready to * receive messages (because of network slowness or other issues, or because they’re connected through long polling * and is in the middle of a request-response cycle). * * @return self * @public */ get volatile(): BroadcastOperator<EmitEvents, SocketData>; /** * Sets a modifier for a subsequent event emission that the event data will only be broadcast to the current node. * * @return self * @public */ get local(): BroadcastOperator<EmitEvents, SocketData>; /** * Returns the matching socket instances * * @public */ fetchSockets(): Promise<RemoteSocket<EmitEvents, SocketData>[]>; /** * Makes the matching socket instances join the specified rooms * * @param room * @public */ socketsJoin(room: Room | Room[]): void; /** * Makes the matching socket instances leave the specified rooms * * @param room * @public */ socketsLeave(room: Room | Room[]): void; /** * Makes the matching socket instances disconnect * * @param close - whether to close the underlying connection * @public */ disconnectSockets(close?: boolean): void; }