- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/socket.io-adapter/dist/index.d.ts
r59329aa re29cc2e 81 81 */ 82 82 socketRooms(id: SocketId): Set<Room> | undefined; 83 /** 84 * Returns the matching socket instances 85 * 86 * @param opts - the filters to apply 87 */ 88 fetchSockets(opts: BroadcastOptions): Promise<any[]>; 89 /** 90 * Makes the matching socket instances join the specified rooms 91 * 92 * @param opts - the filters to apply 93 * @param rooms - the rooms to join 94 */ 95 addSockets(opts: BroadcastOptions, rooms: Room[]): void; 96 /** 97 * Makes the matching socket instances leave the specified rooms 98 * 99 * @param opts - the filters to apply 100 * @param rooms - the rooms to leave 101 */ 102 delSockets(opts: BroadcastOptions, rooms: Room[]): void; 103 /** 104 * Makes the matching socket instances disconnect 105 * 106 * @param opts - the filters to apply 107 * @param close - whether to close the underlying connection 108 */ 109 disconnectSockets(opts: BroadcastOptions, close: boolean): void; 110 private apply; 111 private computeExceptSids; 112 /** 113 * Send a packet to the other Socket.IO servers in the cluster 114 * @param packet - an array of arguments, which may include an acknowledgement callback at the end 115 */ 116 serverSideEmit(packet: any[]): void; 83 117 }
Note:
See TracChangeset
for help on using the changeset viewer.