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.140.201.179
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 type { BroadcastFlags, Room, SocketId } from "socket.io-adapter"; import { Handshake } from "./socket"; import type { Adapter } from "socket.io-adapter"; import type { EventParams, EventNames, EventsMap, TypedEventBroadcaster } from "./typed-events"; export declare class BroadcastOperator<EmitEvents extends EventsMap, SocketData> implements TypedEventBroadcaster<EmitEvents> { private readonly adapter; private readonly rooms; private readonly exceptRooms; private readonly flags; constructor(adapter: Adapter, rooms?: Set<Room>, exceptRooms?: Set<Room>, flags?: BroadcastFlags); /** * Targets a room when emitting. * * @param room * @return a new BroadcastOperator instance * @public */ to(room: Room | Room[]): BroadcastOperator<EmitEvents, SocketData>; /** * Targets a room when emitting. * * @param room * @return a new BroadcastOperator instance * @public */ in(room: Room | Room[]): BroadcastOperator<EmitEvents, SocketData>; /** * Excludes a room when emitting. * * @param room * @return a new BroadcastOperator instance * @public */ except(room: Room | Room[]): BroadcastOperator<EmitEvents, SocketData>; /** * Sets the compress flag. * * @param compress - if `true`, compresses the sending data * @return a new BroadcastOperator instance * @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 a new BroadcastOperator instance * @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 a new BroadcastOperator instance * @public */ get local(): BroadcastOperator<EmitEvents, SocketData>; /** * Emits to all clients. * * @return Always true * @public */ emit<Ev extends EventNames<EmitEvents>>(ev: Ev, ...args: EventParams<EmitEvents, Ev>): boolean; /** * Gets a list of clients. * * @public */ allSockets(): Promise<Set<SocketId>>; /** * Returns the matching socket instances * * @public */ fetchSockets<SocketData = any>(): 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; } /** * Format of the data when the Socket instance exists on another Socket.IO server */ interface SocketDetails<SocketData> { id: SocketId; handshake: Handshake; rooms: Room[]; data: SocketData; } /** * Expose of subset of the attributes and methods of the Socket class */ export declare class RemoteSocket<EmitEvents extends EventsMap, SocketData> implements TypedEventBroadcaster<EmitEvents> { readonly id: SocketId; readonly handshake: Handshake; readonly rooms: Set<Room>; readonly data: SocketData; private readonly operator; constructor(adapter: Adapter, details: SocketDetails<SocketData>); emit<Ev extends EventNames<EmitEvents>>(ev: Ev, ...args: EventParams<EmitEvents, Ev>): boolean; /** * Joins a room. * * @param {String|Array} room - room or array of rooms * @public */ join(room: Room | Room[]): void; /** * Leaves a room. * * @param {String} room * @public */ leave(room: Room): void; /** * Disconnects this client. * * @param {Boolean} close - if `true`, closes the underlying connection * @return {Socket} self * * @public */ disconnect(close?: boolean): this; } export {};