SYMBOL INDEX (1447 symbols across 180 files) FILE: docs/engine.io-protocol/v3-test-suite/test-suite.js constant URL (line 10) | const URL = "http://localhost:3000"; constant WS_URL (line 11) | const WS_URL = URL.replace("http", "ws"); constant PING_INTERVAL (line 13) | const PING_INTERVAL = 300; constant PING_TIMEOUT (line 14) | const PING_TIMEOUT = 200; function sleep (line 16) | function sleep(delay) { function waitFor (line 20) | function waitFor(socket, eventType) { function decodePayload (line 32) | function decodePayload(payload) { function initLongPollingSession (line 39) | async function initLongPollingSession(supportsBinary = false) { FILE: docs/engine.io-protocol/v4-test-suite/test-suite.js constant URL (line 10) | const URL = "http://localhost:3000"; constant WS_URL (line 11) | const WS_URL = URL.replace("http", "ws"); constant PING_INTERVAL (line 13) | const PING_INTERVAL = 300; constant PING_TIMEOUT (line 14) | const PING_TIMEOUT = 200; function sleep (line 16) | function sleep(delay) { function createWebSocket (line 20) | function createWebSocket(url) { function waitFor (line 41) | function waitFor(socket, eventType) { function initLongPollingSession (line 51) | async function initLongPollingSession() { FILE: docs/socket.io-protocol/v5-test-suite/test-suite.js constant URL (line 10) | const URL = "http://localhost:3000"; constant WS_URL (line 11) | const WS_URL = URL.replace("http", "ws"); constant PING_INTERVAL (line 13) | const PING_INTERVAL = 300; constant PING_TIMEOUT (line 14) | const PING_TIMEOUT = 200; function sleep (line 16) | function sleep(delay) { function createWebSocket (line 20) | function createWebSocket(url) { function waitFor (line 41) | function waitFor(socket, eventType) { function waitForPackets (line 51) | function waitForPackets(socket, count) { function initLongPollingSession (line 70) | async function initLongPollingSession() { function initSocketIOConnection (line 76) | async function initSocketIOConnection() { FILE: examples/ReactNativeExample/App.tsx type SectionProps (line 30) | type SectionProps = PropsWithChildren<{ function Section (line 34) | function Section({children, title}: SectionProps): React.JSX.Element { function App (line 60) | function App(): React.JSX.Element { FILE: examples/angular-todomvc/e2e/protractor.conf.js method onPrepare (line 27) | onPrepare() { FILE: examples/angular-todomvc/e2e/src/app.po.ts class AppPage (line 3) | class AppPage { method navigateTo (line 4) | async navigateTo(): Promise { method getTitleText (line 8) | async getTitleText(): Promise { FILE: examples/angular-todomvc/server.ts type Todo (line 10) | interface Todo { FILE: examples/angular-todomvc/src/app/app.component.ts class AppComponent (line 9) | class AppComponent { method constructor (line 13) | constructor(todoStore: RemoteTodoStore) { method stopEditing (line 17) | stopEditing(todo: Todo, editedTitle: string) { method cancelEditingTodo (line 22) | cancelEditingTodo(todo: Todo) { method updateEditingTodo (line 26) | updateEditingTodo(todo: Todo, editedTitle: string) { method editTodo (line 37) | editTodo(todo: Todo) { method removeCompleted (line 41) | removeCompleted() { method toggleCompletion (line 45) | toggleCompletion(todo: Todo) { method remove (line 49) | remove(todo: Todo){ method addTodo (line 53) | addTodo() { FILE: examples/angular-todomvc/src/app/app.module.ts class AppModule (line 19) | class AppModule { } FILE: examples/angular-todomvc/src/app/store.ts class Todo (line 3) | class Todo { method title (line 8) | get title() { method title (line 11) | set title(value: String) { method constructor (line 15) | constructor(title: String) { class TodoStore (line 22) | class TodoStore { method constructor (line 25) | constructor() { method updateStore (line 35) | protected updateStore() { method getWithCompleted (line 39) | private getWithCompleted(completed: boolean) { method allCompleted (line 43) | allCompleted() { method setAllTo (line 47) | setAllTo(completed: boolean) { method removeCompleted (line 52) | removeCompleted() { method getRemaining (line 57) | getRemaining() { method getCompleted (line 61) | getCompleted() { method toggleCompletion (line 65) | toggleCompletion(todo: Todo) { method remove (line 70) | remove(todo: Todo) { method add (line 75) | add(title: String) { class RemoteTodoStore (line 81) | class RemoteTodoStore extends TodoStore { method constructor (line 84) | constructor() { method updateStore (line 92) | protected updateStore() { FILE: examples/basic-crud-application/angular-client/src/app/app.component.ts class AppComponent (line 15) | class AppComponent { method constructor (line 18) | constructor(readonly todoStore: TodoStore) { method stopEditing (line 21) | stopEditing(todo: Todo, editedTitle: string) { method cancelEditingTodo (line 26) | cancelEditingTodo(todo: Todo) { method updateEditingTodo (line 30) | updateEditingTodo(todo: Todo, editedTitle: string) { method editTodo (line 41) | editTodo(todo: Todo) { method removeCompleted (line 45) | removeCompleted() { method toggleCompletion (line 49) | toggleCompletion(todo: Todo) { method remove (line 53) | remove(todo: Todo){ method addTodo (line 57) | addTodo() { FILE: examples/basic-crud-application/angular-client/src/app/store.ts type Todo (line 6) | interface Todo { class TodoStore (line 23) | class TodoStore { method constructor (line 27) | constructor() { method getWithCompleted (line 64) | private getWithCompleted(completed: boolean) { method allCompleted (line 68) | allCompleted() { method setAllTo (line 72) | setAllTo(completed: boolean) { method removeCompleted (line 86) | removeCompleted() { method getRemaining (line 97) | getRemaining() { method getCompleted (line 101) | getCompleted() { method toggleCompletion (line 105) | toggleCompletion(todo: Todo) { method remove (line 117) | remove(todo: Todo) { method add (line 126) | add(title: string) { FILE: examples/basic-crud-application/common/events.ts type TodoID (line 1) | type TodoID = string; type Todo (line 3) | interface Todo { type Error (line 9) | interface Error { type Success (line 18) | interface Success { type Response (line 22) | type Response = Error | Success; type ServerEvents (line 24) | interface ServerEvents { type ClientEvents (line 30) | interface ClientEvents { FILE: examples/basic-crud-application/server-postgres-cluster/lib/app.js function createApplication (line 6) | function createApplication(httpServer, components, serverOptions = {}) { FILE: examples/basic-crud-application/server-postgres-cluster/lib/todo-management/todo.repository.js class CrudRepository (line 4) | class CrudRepository { method findAll (line 5) | findAll() {} method findById (line 6) | findById(id) {} method save (line 7) | save(entity) {} method deleteById (line 8) | deleteById(id) {} class TodoRepository (line 11) | class TodoRepository extends CrudRepository {} class Todo (line 13) | class Todo extends Model {} class PostgresTodoRepository (line 15) | class PostgresTodoRepository extends TodoRepository { method constructor (line 16) | constructor(sequelize) { method findAll (line 41) | findAll() { method findById (line 47) | async findById(id) { method save (line 59) | save(entity) { method deleteById (line 65) | async deleteById(id) { FILE: examples/basic-crud-application/server-postgres-cluster/lib/util.js function sanitizeErrorMessage (line 8) | function sanitizeErrorMessage(message) { function mapErrorDetails (line 16) | function mapErrorDetails(details) { FILE: examples/basic-crud-application/server/lib/app.ts type Components (line 7) | interface Components { function createApplication (line 11) | function createApplication( FILE: examples/basic-crud-application/server/lib/todo-management/todo.repository.ts class InMemoryTodoRepository (line 13) | class InMemoryTodoRepository extends TodoRepository { method findAll (line 16) | findAll(): Promise { method findById (line 21) | findById(id: TodoID): Promise { method save (line 29) | save(entity: Todo): Promise { method deleteById (line 34) | deleteById(id: TodoID): Promise { FILE: examples/basic-crud-application/server/lib/util.ts type Errors (line 3) | enum Errors { function sanitizeErrorMessage (line 10) | function sanitizeErrorMessage(message: any) { function mapErrorDetails (line 18) | function mapErrorDetails(details: ValidationErrorItem[]) { FILE: examples/basic-crud-application/vue-client/src/socket.js constant URL (line 4) | const URL = FILE: examples/basic-crud-application/vue-client/src/stores/todo.js method remaining (line 10) | remaining(state) { method bindEvents (line 22) | bindEvents() { method add (line 53) | add(title) { method setTitle (line 65) | setTitle(todo, title) { method delete (line 70) | delete(todo) { method deleteCompleted (line 81) | deleteCompleted() { method toggleOne (line 93) | toggleOne(todo) { method toggleAll (line 98) | toggleAll(onlyActive) { FILE: examples/basic-websocket-client/src/index.js class EventEmitter (line 1) | class EventEmitter { method on (line 4) | on(event, listener) { method emit (line 12) | emit(event, ...args) { function noop (line 36) | function noop() {} class Socket (line 38) | class Socket extends EventEmitter { method constructor (line 51) | constructor(uri, opts) { method #open (line 64) | #open() { method #createUrl (line 72) | #createUrl() { method #onMessage (line 78) | #onMessage(data) { method #onOpen (line 114) | #onOpen(data) { method #onPacket (line 126) | #onPacket(packet) { method #onConnect (line 147) | #onConnect(packet) { method #onClose (line 157) | #onClose(reason) { method #resetPingTimeout (line 182) | #resetPingTimeout() { method #send (line 189) | #send(data) { method #sendPacket (line 195) | #sendPacket(packet) { method #doConnect (line 199) | #doConnect() { method emit (line 203) | emit(...args) { method disconnect (line 216) | disconnect() { function encode (line 222) | function encode(packet) { function decode (line 232) | function decode(data) { function isPacketValid (line 250) | function isPacketValid(packet) { function io (line 267) | function io(uri, opts) { FILE: examples/basic-websocket-client/test/index.js function waitFor (line 10) | function waitFor(emitter, eventName) { function sleep (line 16) | function sleep(delay) { FILE: examples/cluster-engine-node-cluster/client.js constant CLIENTS_COUNT (line 3) | const CLIENTS_COUNT = 3; FILE: examples/cluster-engine-redis/client.js constant CLIENTS_COUNT (line 3) | const CLIENTS_COUNT = 3; FILE: examples/cluster-engine-redis/server.js function initServer (line 10) | async function initServer(port) { function initProxy (line 41) | function initProxy() { FILE: examples/cluster-haproxy/server/public/main.js function addParticipantsMessage (line 28) | function addParticipantsMessage (data) { function setUsername (line 39) | function setUsername () { function sendMessage (line 55) | function sendMessage () { function log (line 72) | function log (message, options) { function addChatMessage (line 78) | function addChatMessage (data, options) { function addChatTyping (line 103) | function addChatTyping (data) { function removeChatTyping (line 110) | function removeChatTyping (data) { function addMessageElement (line 121) | function addMessageElement (el, options) { function cleanInput (line 148) | function cleanInput (input) { function updateTyping (line 153) | function updateTyping () { function getTypingMessages (line 173) | function getTypingMessages (data) { function getUsernameColor (line 180) | function getUsernameColor (username) { FILE: examples/cluster-httpd/server/public/main.js function addParticipantsMessage (line 28) | function addParticipantsMessage (data) { function setUsername (line 39) | function setUsername () { function sendMessage (line 55) | function sendMessage () { function log (line 72) | function log (message, options) { function addChatMessage (line 78) | function addChatMessage (data, options) { function addChatTyping (line 103) | function addChatTyping (data) { function removeChatTyping (line 110) | function removeChatTyping (data) { function addMessageElement (line 121) | function addMessageElement (el, options) { function cleanInput (line 148) | function cleanInput (input) { function updateTyping (line 153) | function updateTyping () { function getTypingMessages (line 173) | function getTypingMessages (data) { function getUsernameColor (line 180) | function getUsernameColor (username) { FILE: examples/cluster-nginx/server/public/main.js function addParticipantsMessage (line 28) | function addParticipantsMessage (data) { function setUsername (line 39) | function setUsername () { function sendMessage (line 55) | function sendMessage () { function log (line 72) | function log (message, options) { function addChatMessage (line 78) | function addChatMessage (data, options) { function addChatTyping (line 103) | function addChatTyping (data) { function removeChatTyping (line 110) | function removeChatTyping (data) { function addMessageElement (line 121) | function addMessageElement (el, options) { function cleanInput (line 148) | function cleanInput (input) { function updateTyping (line 153) | function updateTyping () { function getTypingMessages (line 173) | function getTypingMessages (data) { function getUsernameColor (line 180) | function getUsernameColor (username) { FILE: examples/cluster-traefik/server/public/main.js function addParticipantsMessage (line 28) | function addParticipantsMessage (data) { function setUsername (line 39) | function setUsername () { function sendMessage (line 55) | function sendMessage () { function log (line 72) | function log (message, options) { function addChatMessage (line 78) | function addChatMessage (data, options) { function addChatTyping (line 103) | function addChatTyping (data) { function removeChatTyping (line 110) | function removeChatTyping (data) { function addMessageElement (line 121) | function addMessageElement (el, options) { function cleanInput (line 148) | function cleanInput (input) { function updateTyping (line 153) | function updateTyping () { function getTypingMessages (line 173) | function getTypingMessages (data) { function getUsernameColor (line 180) | function getUsernameColor (username) { FILE: examples/create-react-app-example/src/App.js function App (line 8) | function App() { FILE: examples/create-react-app-example/src/serviceWorker.js function register (line 23) | function register(config) { function registerValidSW (line 57) | function registerValidSW(swUrl, config) { function checkValidServiceWorker (line 101) | function checkValidServiceWorker(swUrl, config) { function unregister (line 131) | function unregister() { FILE: examples/custom-parsers/src/custom-parser.js constant TYPES (line 9) | const TYPES = { class Encoder (line 42) | class Encoder { method encode (line 43) | encode (packet) { method pack (line 51) | pack (packet) { class Decoder (line 73) | class Decoder extends Emitter { method add (line 74) | add (obj) { method parseJSON (line 81) | parseJSON (obj) { method parseBinary (line 89) | parseBinary (obj) { method destroy (line 121) | destroy () {} FILE: examples/custom-parsers/src/server.js function onConnect (line 49) | function onConnect (delay) { FILE: examples/expo-example/App.js function App (line 5) | function App() { FILE: examples/express-session-example/ts/index.ts type SessionData (line 8) | interface SessionData { FILE: examples/nestjs-example/src/app.controller.ts class AppController (line 5) | class AppController { method constructor (line 6) | constructor(private readonly appService: AppService) {} method root (line 10) | root() { FILE: examples/nestjs-example/src/app.module.ts class AppModule (line 11) | class AppModule {} FILE: examples/nestjs-example/src/app.service.ts class AppService (line 4) | class AppService { method getHello (line 5) | getHello(): string { FILE: examples/nestjs-example/src/events/events.gateway.ts class EventsGateway (line 10) | class EventsGateway { method handleEvent (line 15) | handleEvent(@MessageBody() data: string): string { FILE: examples/nestjs-example/src/events/events.module.ts class EventsModule (line 7) | class EventsModule {} FILE: examples/nestjs-example/src/main.ts function bootstrap (line 6) | async function bootstrap() { FILE: examples/nextjs-app-router/src/app/layout.js function RootLayout (line 11) | function RootLayout({ children }) { FILE: examples/nextjs-app-router/src/app/page.js function Home (line 8) | function Home() { FILE: examples/nextjs-pages-router/src/pages/_app.js function App (line 3) | function App({ Component, pageProps }) { FILE: examples/nextjs-pages-router/src/pages/_document.js function Document (line 3) | function Document() { FILE: examples/nextjs-pages-router/src/pages/api/hello.js function handler (line 3) | function handler(req, res) { FILE: examples/nextjs-pages-router/src/pages/index.js function Home (line 10) | function Home() { FILE: examples/nuxt-example/server/plugins/socket.io.ts method handler (line 17) | handler(event) { method open (line 22) | open(peer) { FILE: examples/nwjs-example/index.js function onConnect (line 6) | function onConnect() { FILE: examples/passport-example/cjs/index.js function onlyForHandshake (line 80) | function onlyForHandshake(middleware) { FILE: examples/passport-example/esm/index.js function onlyForHandshake (line 83) | function onlyForHandshake(middleware) { FILE: examples/passport-example/ts/index.ts type User (line 14) | interface User { function onlyForHandshake (line 94) | function onlyForHandshake( FILE: examples/passport-jwt-example/ts/index.ts type User (line 14) | interface User { FILE: examples/postgres-adapter-example/client.js constant CLIENTS_COUNT (line 3) | const CLIENTS_COUNT = 3; constant PORTS (line 4) | const PORTS = [3000, 3001, 3002]; FILE: examples/postgres-adapter-example/cluster.js constant SERVERS_COUNT (line 3) | const SERVERS_COUNT = 3; FILE: examples/postgres-adapter-example/server.js constant PORT (line 6) | const PORT = process.env.PORT || 3000; FILE: examples/private-messaging/server/cluster.js constant WORKERS_COUNT (line 5) | const WORKERS_COUNT = 4; FILE: examples/private-messaging/server/messageStore.js class MessageStore (line 1) | class MessageStore { method saveMessage (line 2) | saveMessage(message) {} method findMessagesForUser (line 3) | findMessagesForUser(userID) {} class InMemoryMessageStore (line 6) | class InMemoryMessageStore extends MessageStore { method constructor (line 7) | constructor() { method saveMessage (line 12) | saveMessage(message) { method findMessagesForUser (line 16) | findMessagesForUser(userID) { constant CONVERSATION_TTL (line 23) | const CONVERSATION_TTL = 24 * 60 * 60; class RedisMessageStore (line 25) | class RedisMessageStore extends MessageStore { method constructor (line 26) | constructor(redisClient) { method saveMessage (line 31) | saveMessage(message) { method findMessagesForUser (line 42) | findMessagesForUser(userID) { FILE: examples/private-messaging/server/sessionStore.js class SessionStore (line 1) | class SessionStore { method findSession (line 2) | findSession(id) {} method saveSession (line 3) | saveSession(id, session) {} method findAllSessions (line 4) | findAllSessions() {} class InMemorySessionStore (line 7) | class InMemorySessionStore extends SessionStore { method constructor (line 8) | constructor() { method findSession (line 13) | findSession(id) { method saveSession (line 17) | saveSession(id, session) { method findAllSessions (line 21) | findAllSessions() { constant SESSION_TTL (line 26) | const SESSION_TTL = 24 * 60 * 60; class RedisSessionStore (line 30) | class RedisSessionStore extends SessionStore { method constructor (line 31) | constructor(redisClient) { method findSession (line 36) | findSession(id) { method saveSession (line 42) | saveSession(id, { userID, username, connected }) { method findAllSessions (line 58) | async findAllSessions() { FILE: examples/private-messaging/src/socket.js constant URL (line 3) | const URL = "http://localhost:3000"; FILE: examples/tweet-stream/index.js constant MAX_TWEETS (line 20) | const MAX_TWEETS = 10; FILE: examples/typescript-client-example/cjs/client.ts type ServerToClientEvents (line 3) | interface ServerToClientEvents { type ClientToServerEvents (line 7) | interface ClientToServerEvents { FILE: examples/typescript-client-example/esm/client.ts type ServerToClientEvents (line 3) | interface ServerToClientEvents { type ClientToServerEvents (line 7) | interface ClientToServerEvents { FILE: examples/whiteboard/index.js function onConnection (line 10) | function onConnection(socket){ FILE: examples/whiteboard/public/main.js function drawLine (line 36) | function drawLine(x0, y0, x1, y1, color, emit){ function onMouseDown (line 58) | function onMouseDown(e){ function onMouseUp (line 64) | function onMouseUp(e){ function onMouseMove (line 70) | function onMouseMove(e){ function onColorUpdate (line 77) | function onColorUpdate(e){ function throttle (line 82) | function throttle(callback, delay) { function onDrawingEvent (line 94) | function onDrawingEvent(data){ function onResize (line 101) | function onResize() { FILE: packages/engine.io-client/lib/contrib/parseqs.ts function encode (line 10) | function encode (obj) { function decode (line 30) | function decode (qs) { FILE: packages/engine.io-client/lib/contrib/parseuri.ts function parse (line 26) | function parse(str: string) { function pathNames (line 60) | function pathNames(obj, path) { function queryKey (line 74) | function queryKey(uri, query) { FILE: packages/engine.io-client/lib/globals.node.ts function createCookieJar (line 5) | function createCookieJar() { type Cookie (line 9) | interface Cookie { function parse (line 18) | function parse(setCookieString: string): Cookie { class CookieJar (line 70) | class CookieJar { method parseCookies (line 73) | public parseCookies(values: string[]) { method cookies (line 85) | get cookies() { method addCookies (line 95) | public addCookies(xhr: any) { method appendCookies (line 108) | public appendCookies(headers: Headers) { FILE: packages/engine.io-client/lib/globals.ts function createCookieJar (line 23) | function createCookieJar() {} FILE: packages/engine.io-client/lib/socket.ts constant OFFLINE_EVENT_LISTENERS (line 23) | const OFFLINE_EVENT_LISTENERS = []; type SocketOptions (line 41) | interface SocketOptions { type TransportCtor (line 263) | type TransportCtor = { new (o: any): Transport }; type BaseSocketOptions (line 265) | type BaseSocketOptions = Omit & { type HandshakeData (line 269) | interface HandshakeData { type SocketReservedEvents (line 277) | interface SocketReservedEvents { type SocketState (line 296) | type SocketState = "opening" | "open" | "closing" | "closed"; type WriteOptions (line 298) | interface WriteOptions { class SocketWithoutUpgrade (line 325) | class SocketWithoutUpgrade extends Emitter< method constructor (line 373) | constructor(uri: string | BaseSocketOptions, opts: BaseSocketOptions) { method createTransport (line 493) | protected createTransport(name: string) { method _open (line 529) | private _open() { method setTransport (line 556) | protected setTransport(transport: Transport) { method onOpen (line 580) | protected onOpen() { method _onPacket (line 594) | private _onPacket(packet: Packet) { method onHandshake (line 642) | protected onHandshake(data: HandshakeData) { method _resetPingTimeout (line 660) | private _resetPingTimeout() { method _onDrain (line 677) | private _onDrain() { method flush (line 697) | protected flush() { method _getWritablePackets (line 720) | private _getWritablePackets() { method _hasPingExpired (line 753) | _hasPingExpired() { method write (line 777) | public write(msg: RawData, options?: WriteOptions, fn?: () => void) { method send (line 790) | public send(msg: RawData, options?: WriteOptions, fn?: () => void) { method _sendPacket (line 804) | private _sendPacket( method close (line 841) | public close() { method _onError (line 886) | private _onError(err: Error) { method _onClose (line 909) | private _onClose(reason: string, description?: CloseDetails | Error) { class SocketWithUpgrade (line 986) | class SocketWithUpgrade extends SocketWithoutUpgrade { method onOpen (line 989) | override onOpen() { method _probe (line 1006) | private _probe(name: string) { method onHandshake (line 1126) | override onHandshake(data: HandshakeData) { method _filterUpgrades (line 1137) | private _filterUpgrades(upgrades: string[]) { class Socket (line 1166) | class Socket extends SocketWithUpgrade { method constructor (line 1169) | constructor(uri?: string | SocketOptions, opts: SocketOptions = {}) { FILE: packages/engine.io-client/lib/transport.ts class TransportError (line 11) | class TransportError extends Error { method constructor (line 14) | constructor( type CloseDetails (line 23) | interface CloseDetails { type TransportReservedEvents (line 28) | interface TransportReservedEvents { type TransportState (line 38) | type TransportState = "opening" | "open" | "closed" | "pausing" | "paused"; method constructor (line 60) | constructor(opts) { method onError (line 79) | protected onError(reason: string, description: any, context?: any) { method open (line 90) | public open() { method close (line 100) | public close() { method send (line 114) | public send(packets) { method onOpen (line 128) | protected onOpen() { method onData (line 140) | protected onData(data: RawData) { method onPacket (line 150) | protected onPacket(packet: Packet) { method onClose (line 159) | protected onClose(details?: CloseDetails) { method pause (line 174) | public pause(onPause: () => void) {} method createUri (line 176) | protected createUri(schema: string, query: Record = {}) { method _hostname (line 187) | private _hostname() { method _port (line 192) | private _port() { method _query (line 204) | private _query(query: Record) { FILE: packages/engine.io-client/lib/transports/polling-fetch.ts class Fetch (line 13) | class Fetch extends Polling { method doPoll (line 14) | override doPoll() { method doWrite (line 28) | override doWrite(data: string, callback: () => void) { method _fetch (line 42) | private _fetch(data?: string) { FILE: packages/engine.io-client/lib/transports/polling-xhr.node.ts class XHR (line 13) | class XHR extends BaseXHR { method request (line 14) | request(opts: Record = {}) { FILE: packages/engine.io-client/lib/transports/polling-xhr.ts function empty (line 13) | function empty() {} method constructor (line 26) | constructor(opts) { method doWrite (line 59) | override doWrite(data, fn) { method doPoll (line 75) | override doPoll() { type RequestReservedEvents (line 86) | interface RequestReservedEvents { type RequestOptions (line 92) | type RequestOptions = SocketOptions & { class Request (line 99) | class Request extends Emitter< method constructor (line 122) | constructor( method _create (line 143) | private _create() { method _onError (line 239) | private _onError(err: number | Error) { method _cleanup (line 249) | private _cleanup(fromError?) { method _onLoad (line 273) | private _onLoad() { method abort (line 287) | public abort() { function unloadHandler (line 309) | function unloadHandler() { class XHR (line 331) | class XHR extends BaseXHR { method constructor (line 332) | constructor(opts) { method request (line 338) | request(opts: Record = {}) { function newRequest (line 344) | function newRequest(opts) { FILE: packages/engine.io-client/lib/transports/polling.ts method name (line 11) | override get name() { method doOpen (line 21) | override doOpen() { method pause (line 31) | override pause(onPause) { method _poll (line 70) | private _poll() { method onData (line 82) | override onData(data) { method doClose (line 122) | override doClose() { method write (line 145) | override write(packets) { method uri (line 161) | protected uri() { FILE: packages/engine.io-client/lib/transports/websocket.node.ts class WS (line 13) | class WS extends BaseWS { method createSocket (line 14) | createSocket( method doWrite (line 33) | doWrite(packet: Packet, data: RawData) { FILE: packages/engine.io-client/lib/transports/websocket.ts method name (line 19) | override get name() { method doOpen (line 23) | override doOpen() { method addEventListeners (line 75) | private addEventListeners() { method write (line 91) | override write(packets) { method doClose (line 124) | override doClose() { method uri (line 137) | private uri() { class WS (line 166) | class WS extends BaseWS { method createSocket (line 167) | createSocket( method doWrite (line 179) | doWrite(_packet: Packet, data: RawData) { FILE: packages/engine.io-client/lib/transports/webtransport.ts class WT (line 20) | class WT extends Transport { method name (line 24) | get name() { method doOpen (line 28) | protected doOpen() { method write (line 90) | protected write(packets: Packet[]) { method doClose (line 108) | protected doClose() { FILE: packages/engine.io-client/lib/util.ts function pick (line 3) | function pick(obj, ...attr) { constant NATIVE_SET_TIMEOUT (line 13) | const NATIVE_SET_TIMEOUT = globalThis.setTimeout; constant NATIVE_CLEAR_TIMEOUT (line 14) | const NATIVE_CLEAR_TIMEOUT = globalThis.clearTimeout; function installTimerFunctions (line 16) | function installTimerFunctions(obj, opts) { constant BASE64_OVERHEAD (line 27) | const BASE64_OVERHEAD = 1.33; function byteLength (line 30) | function byteLength(obj) { function utf8Length (line 38) | function utf8Length(str) { function randomString (line 60) | function randomString() { FILE: packages/engine.io-client/support/bundle-size.js function format (line 16) | function format(size) { function main (line 20) | async function main() { FILE: packages/engine.io-client/test/connection.js function testBinary (line 132) | function testBinary(data) { FILE: packages/engine.io-client/test/support/hooks.js method beforeAll (line 15) | beforeAll() { method afterAll (line 84) | afterAll() { FILE: packages/engine.io-client/test/util-wt.mjs function _dnToAsn1 (line 16) | function _dnToAsn1(obj) { function _dateToAsn1 (line 71) | function _dateToAsn1(date) { function _signatureParametersToAsn1 (line 98) | function _signatureParametersToAsn1(oid, params) { function getTBSCertificate (line 171) | function getTBSCertificate(cert) { function toPositiveHex (line 273) | function toPositiveHex(hexString) { function generateWebTransportCertificate (line 296) | async function generateWebTransportCertificate(attrs, options) { FILE: packages/engine.io-client/test/webtransport.mjs function setup (line 14) | async function setup(opts, cb) { function createHttpServer (line 56) | function createHttpServer(port) { function success (line 76) | function success(engine, h3server, done) { function createSocket (line 82) | function createSocket(port, certificate, opts) { FILE: packages/engine.io-parser/lib/commons.ts constant PACKET_TYPES (line 1) | const PACKET_TYPES = Object.create(null); constant PACKET_TYPES_REVERSE (line 10) | const PACKET_TYPES_REVERSE = Object.create(null); constant ERROR_PACKET (line 15) | const ERROR_PACKET: Packet = { type: "error", data: "parser error" }; type PacketType (line 19) | type PacketType = type RawData (line 31) | type RawData = any; type Packet (line 33) | interface Packet { type BinaryType (line 43) | type BinaryType = "nodebuffer" | "arraybuffer" | "blob"; FILE: packages/engine.io-parser/lib/encodePacket.browser.ts function toArray (line 53) | function toArray(data: BufferSource) { constant TEXT_ENCODER (line 63) | let TEXT_ENCODER; function encodePacketToBinary (line 65) | function encodePacketToBinary( FILE: packages/engine.io-parser/lib/encodePacket.ts constant TEXT_ENCODER (line 30) | let TEXT_ENCODER; function encodePacketToBinary (line 32) | function encodePacketToBinary( FILE: packages/engine.io-parser/lib/index.ts constant SEPARATOR (line 11) | const SEPARATOR = String.fromCharCode(30); function createPacketEncoderStream (line 49) | function createPacketEncoderStream(): any { constant TEXT_DECODER (line 81) | let TEXT_DECODER; function totalLength (line 83) | function totalLength(chunks: Uint8Array[]) { function concatChunks (line 87) | function concatChunks(chunks: Uint8Array[], size: number) { type State (line 106) | const enum State { function createPacketDecoderStream (line 113) | function createPacketDecoderStream( FILE: packages/engine.io/examples/latency/public/index.js function $ (line 11) | function $ (id) { return document.getElementById(id); } function render (line 18) | function render () { function send (line 34) | function send () { FILE: packages/engine.io/examples/memory-usage-webtransport/client.js constant CLIENTS_COUNT (line 7) | const CLIENTS_COUNT = 100; FILE: packages/engine.io/examples/memory-usage-webtransport/server.js constant PACKETS_COUNT (line 8) | const PACKETS_COUNT = 100; constant PACKET_SIZE (line 9) | const PACKET_SIZE = 100; function formatSize (line 38) | function formatSize(val) { FILE: packages/engine.io/examples/memory-usage/client.js constant CLIENTS_COUNT (line 3) | const CLIENTS_COUNT = 100; FILE: packages/engine.io/examples/memory-usage/server.js constant EMIT_INTERVAL_MS (line 4) | const EMIT_INTERVAL_MS = 10_000; constant PACKETS_COUNT (line 5) | const PACKETS_COUNT = 100; constant PACKET_SIZE (line 6) | const PACKET_SIZE = 100; function formatSize (line 28) | function formatSize(val) { FILE: packages/engine.io/lib/contrib/types.cookie.ts type CookieSerializeOptions (line 9) | interface CookieSerializeOptions { FILE: packages/engine.io/lib/engine.io.ts function listen (line 27) | function listen( function attach (line 59) | function attach( FILE: packages/engine.io/lib/parser-v3/index.ts constant EMPTY_BUFFER (line 45) | const EMPTY_BUFFER = Buffer.concat([]); function encodePacket (line 62) | function encodePacket (packet: any, supportsBinary?: any, utf8encode?: a... function encodeBuffer (line 94) | function encodeBuffer(packet, supportsBinary, callback) { function encodeBase64Packet (line 112) | function encodeBase64Packet (packet, callback){ function decodePacket (line 126) | function decodePacket (data: any, binaryType?: any, utf8decode?: any): a... function tryDecode (line 176) | function tryDecode(data) { function decodeBase64Packet (line 192) | function decodeBase64Packet (msg, binaryType) { function encodePayload (line 222) | function encodePayload (packets, supportsBinary, callback) { function setLengthHeader (line 247) | function setLengthHeader(message) { function map (line 255) | function map(ary, each, done) { function decodePayload (line 277) | function decodePayload (data: any, binaryType?: any, callback?: any) { function bufferToString (line 346) | function bufferToString(buffer) { function stringToBuffer (line 361) | function stringToBuffer(string) { function arrayBufferToBuffer (line 376) | function arrayBufferToBuffer(data) { function encodePayloadAsBinary (line 398) | function encodePayloadAsBinary (packets, callback) { function encodeOneBinaryPacket (line 408) | function encodeOneBinaryPacket(p, doneCallback) { function decodePayloadAsBinary (line 449) | function decodePayloadAsBinary (data, binaryType, callback) { FILE: packages/engine.io/lib/parser-v3/utf8.ts function ucs2decode (line 6) | function ucs2decode(string) { function ucs2encode (line 33) | function ucs2encode(array) { function checkScalarValue (line 50) | function checkScalarValue(codePoint, strict) { function createByte (line 64) | function createByte(codePoint, shift) { function encodeCodePoint (line 68) | function encodeCodePoint(codePoint, strict) { function utf8encode (line 92) | function utf8encode(string, opts) { function readContinuationByte (line 110) | function readContinuationByte() { function decodeSymbol (line 126) | function decodeSymbol(strict) { function utf8decode (line 191) | function utf8decode(byteString, opts) { FILE: packages/engine.io/lib/server.ts type TransportName (line 29) | type TransportName = "polling" | "websocket" | "webtransport"; type ErrorCallback (line 31) | type ErrorCallback = ( type AttachOptions (line 36) | interface AttachOptions { type ServerOptions (line 60) | interface ServerOptions { type Middleware (line 154) | type Middleware = ( function parseSessionId (line 160) | function parseSessionId(data: string): string | undefined { method constructor (line 182) | constructor(opts: ServerOptions = {}) { method _computePath (line 242) | protected _computePath(options: AttachOptions) { method upgrades (line 256) | public upgrades(transport: TransportName): string[] { method verify (line 270) | protected verify( method use (line 356) | public use(fn: any) { method _applyMiddlewares (line 368) | protected _applyMiddlewares( method close (line 399) | public close() { method generateId (line 418) | public generateId(req: IncomingMessage): string | PromiseLike { method handshake (line 431) | protected async handshake( method onWebTransportSession (line 526) | public async onWebTransportSession(session: any) { class WebSocketResponse (line 644) | class WebSocketResponse { method constructor (line 645) | constructor( method setHeader (line 653) | public setHeader(name: string, value: any) { method getHeader (line 657) | public getHeader(name: string) { method removeHeader (line 661) | public removeHeader(name: string) { method write (line 665) | public write() {} method writeHead (line 667) | public writeHead() {} method end (line 669) | public end() { class Server (line 678) | class Server extends BaseServer { method init (line 687) | protected init() { method cleanup (line 721) | protected cleanup() { method prepare (line 734) | private prepare(req: EngineRequest) { method createTransport (line 742) | protected createTransport( method handleRequest (line 756) | public handleRequest(req: EngineRequest, res: ServerResponse) { method handleUpgrade (line 799) | public handleUpgrade( method onWebSocket (line 848) | private onWebSocket( method attach (line 917) | public attach(server: HttpServer, options: AttachOptions = {}) { function abortRequest (line 980) | function abortRequest( function abortUpgrade (line 1008) | function abortUpgrade( function checkInvalidHeaderChar (line 1067) | function checkInvalidHeaderChar(val?: string) { FILE: packages/engine.io/lib/socket.ts type SendOptions (line 12) | interface SendOptions { type ReadyState (line 16) | type ReadyState = "opening" | "open" | "closing" | "closed"; type SendCallback (line 18) | type SendCallback = (transport: Transport) => void; class Socket (line 20) | class Socket extends EventEmitter { method readyState (line 70) | get readyState() { method readyState (line 74) | set readyState(state: ReadyState) { method constructor (line 79) | constructor( method onOpen (line 116) | private onOpen() { method onPacket (line 153) | private onPacket(packet: Packet) { method onError (line 201) | private onError(err: Error) { method schedulePing (line 212) | private schedulePing() { method resetPingTimeout (line 228) | private resetPingTimeout() { method setTransport (line 247) | private setTransport(transport: Transport) { method onDrain (line 275) | private onDrain() { method _maybeUpgrade (line 293) | _maybeUpgrade(transport: Transport) { method clearTransport (line 387) | private clearTransport() { method onClose (line 413) | private onClose(reason: string, description?) { method send (line 441) | public send(data: RawData, options?: SendOptions, callback?: SendCallb... method write (line 453) | public write(data: RawData, options?: SendOptions, callback?: SendCall... method sendPacket (line 468) | private sendPacket( method flush (line 509) | private flush() { method getAvailableUpgrades (line 539) | private getAvailableUpgrades() { method close (line 559) | public close(discard?: boolean) { method closeTransport (line 593) | private closeTransport(discard: boolean) { FILE: packages/engine.io/lib/transport.ts function noop (line 11) | function noop() {} type ReadyState (line 13) | type ReadyState = "open" | "closing" | "closed"; type EngineRequest (line 15) | type EngineRequest = IncomingMessage & { method readyState (line 68) | get readyState() { method readyState (line 72) | set readyState(state: ReadyState) { method constructor (line 92) | constructor(req: { _query: Record }) { method discard (line 104) | discard() { method onRequest (line 114) | onRequest(req: any) {} method close (line 121) | close(fn?: () => void) { method onError (line 135) | protected onError(msg: string, desc?) { method onPacket (line 154) | protected onPacket(packet: Packet) { method onData (line 164) | protected onData(data: RawData) { method onClose (line 173) | protected onClose() { FILE: packages/engine.io/lib/transports-uws/polling.ts class Polling (line 16) | class Polling extends Transport { method constructor (line 31) | constructor(req) { method name (line 40) | get name() { method onRequest (line 51) | onRequest(req) { method onPollRequest (line 71) | onPollRequest(req, res) { method onDataRequest (line 113) | onDataRequest(req, res) { method onDataRequestCleanup (line 210) | private onDataRequestCleanup() { method onData (line 220) | onData(data) { method onClose (line 244) | onClose() { method send (line 258) | send(packets) { method write (line 293) | write(data, options) { method doWrite (line 306) | doWrite(data, options, callback) { method compress (line 363) | compress(data, encoding, callback) { method doClose (line 386) | doClose(fn) { method headers (line 418) | headers(req, headers) { FILE: packages/engine.io/lib/transports-uws/websocket.ts class WebSocket (line 6) | class WebSocket extends Transport { method constructor (line 15) | constructor(req) { method name (line 24) | get name() { method handlesUpgrades (line 31) | get handlesUpgrades() { method send (line 41) | send(packets) { method doClose (line 77) | doClose(fn) { FILE: packages/engine.io/lib/transports/index.ts function polling (line 16) | function polling(req: EngineRequest) { FILE: packages/engine.io/lib/transports/polling-jsonp.ts class JSONP (line 8) | class JSONP extends Polling { method constructor (line 15) | constructor(req) { method onData (line 22) | override onData(data: RawData) { method doWrite (line 36) | override doWrite(data, options, callback) { FILE: packages/engine.io/lib/transports/polling.ts class Polling (line 17) | class Polling extends Transport { method constructor (line 32) | constructor(req) { method name (line 41) | get name() { method onRequest (line 51) | onRequest(req: EngineRequest) { method onPollRequest (line 71) | private onPollRequest(req: EngineRequest, res: ServerResponse) { method onDataRequest (line 113) | private onDataRequest(req: IncomingMessage, res: ServerResponse) { method onData (line 188) | override onData(data: RawData) { method onClose (line 212) | onClose() { method send (line 220) | send(packets: Packet[]) { method write (line 255) | private write(data, options) { method doWrite (line 268) | protected doWrite(data, options, callback) { method compress (line 322) | private compress(data, encoding, callback) { method doClose (line 345) | override doClose(fn: () => void) { method headers (line 382) | private headers(req: IncomingMessage, headers: Record ... FILE: packages/engine.io/lib/transports/websocket.ts class WebSocket (line 8) | class WebSocket extends Transport { method constructor (line 17) | constructor(req: EngineRequest) { method name (line 34) | get name() { method handlesUpgrades (line 41) | get handlesUpgrades() { method send (line 45) | send(packets: Packet[]) { method _canSendPreEncodedFrame (line 75) | private _canSendPreEncodedFrame(packet: Packet) { method doClose (line 108) | doClose(fn?: () => void) { FILE: packages/engine.io/lib/transports/webtransport.ts class WebTransport (line 10) | class WebTransport extends Transport { method constructor (line 13) | constructor( method name (line 47) | get name() { method send (line 51) | async send(packets) { method doClose (line 68) | doClose(fn) { FILE: packages/engine.io/lib/userver.ts type uOptions (line 9) | interface uOptions { class uServer (line 31) | class uServer extends BaseServer { method init (line 32) | protected init() {} method cleanup (line 33) | protected cleanup() {} method prepare (line 40) | private prepare(req: HttpRequest & EngineRequest, res: HttpResponse) { method createTransport (line 62) | protected createTransport(transportName: string, req: EngineRequest) { method attach (line 71) | public attach( method _applyMiddlewares (line 102) | override _applyMiddlewares( method handleRequest (line 123) | private handleRequest( method handleUpgrade (line 172) | private handleUpgrade( method abortRequest (line 266) | private abortRequest( class ResponseWrapper (line 291) | class ResponseWrapper { method constructor (line 296) | constructor(readonly res: HttpResponse) {} method statusCode (line 298) | public set statusCode(status: number) { method writeHead (line 306) | public writeHead(status: number) { method setHeader (line 310) | public setHeader(key, value) { method removeHeader (line 320) | public removeHeader() { method getHeader (line 325) | public getHeader() {} method writeStatus (line 327) | public writeStatus(status: string) { method writeHeader (line 336) | public writeHeader(key: string, value: string) { method writeBufferedHeaders (line 350) | private writeBufferedHeaders() { method end (line 356) | public end(data) { method onData (line 368) | public onData(fn) { method onAborted (line 374) | public onAborted(fn) { method cork (line 384) | public cork(fn) { FILE: packages/engine.io/test/engine.io.js function onEnd (line 133) | function onEnd() { function onEnd (line 167) | function onEnd() { FILE: packages/engine.io/test/server.js constant IS_CLIENT_V3 (line 16) | const IS_CLIENT_V3 = process.env.EIO_CLIENT === "3"; function onClose (line 948) | function onClose(reason, err) { function done (line 1176) | function done() { function done (line 1231) | function done() { function fixture (line 1725) | function fixture(filename) { function sendFn (line 2625) | function sendFn() { function sendFn (line 2664) | function sendFn() { function cb (line 2698) | function cb(value) { function cb (line 2743) | function cb(value) { function finish (line 3127) | function finish() { function getSidFromResponse (line 3223) | function getSidFromResponse(res) { function testForTransport (line 3454) | function testForTransport(transport, done) { function testForHeaders (line 3480) | function testForHeaders(headers, callback) { FILE: packages/engine.io/test/util.mjs function _dnToAsn1 (line 16) | function _dnToAsn1(obj) { function _dateToAsn1 (line 71) | function _dateToAsn1(date) { function _signatureParametersToAsn1 (line 98) | function _signatureParametersToAsn1(oid, params) { function getTBSCertificate (line 171) | function getTBSCertificate(cert) { function toPositiveHex (line 273) | function toPositiveHex(hexString) { function generateWebTransportCertificate (line 296) | async function generateWebTransportCertificate(attrs, options) { FILE: packages/engine.io/test/webtransport.mjs constant TEXT_ENCODER (line 8) | const TEXT_ENCODER = new TextEncoder(); constant TEXT_DECODER (line 9) | const TEXT_DECODER = new TextDecoder(); function success (line 11) | function success(engine, h3server, done) { function createPartialDone (line 17) | function createPartialDone(done, count) { function setupServer (line 28) | async function setupServer(opts, cb) { function setup (line 70) | function setup(opts, cb) { function createHttpServer (line 102) | function createHttpServer(port) { FILE: packages/socket.io-adapter/lib/cluster-adapter.ts constant EMITTER_UID (line 11) | const EMITTER_UID = "emitter"; constant DEFAULT_TIMEOUT (line 12) | const DEFAULT_TIMEOUT = 5000; function randomId (line 14) | function randomId() { type DistributiveOmit (line 18) | type DistributiveOmit = T extends any type ServerId (line 25) | type ServerId = string; type Offset (line 30) | type Offset = string; type ClusterAdapterOptions (line 32) | interface ClusterAdapterOptions { type MessageType (line 45) | enum MessageType { type ClusterMessage (line 61) | type ClusterMessage = { type ClusterRequest (line 109) | interface ClusterRequest { type ClusterResponse (line 118) | type ClusterResponse = { type ClusterAckRequest (line 152) | interface ClusterAckRequest { function encodeOptions (line 157) | function encodeOptions(opts: BroadcastOptions) { function decodeOptions (line 165) | function decodeOptions(opts): BroadcastOptions { method constructor (line 185) | protected constructor(nsp) { method onMessage (line 197) | protected onMessage(message: ClusterMessage, offset?: string) { method onResponse (line 360) | protected onResponse(response: ClusterResponse) { method broadcast (line 427) | override async broadcast(packet: any, opts: BroadcastOptions) { method addOffsetIfNecessary (line 457) | private addOffsetIfNecessary( method broadcastWithAck (line 476) | override broadcastWithAck( method addSockets (line 510) | override async addSockets(opts: BroadcastOptions, rooms: Room[]) { method delSockets (line 530) | override async delSockets(opts: BroadcastOptions, rooms: Room[]) { method disconnectSockets (line 550) | override async disconnectSockets(opts: BroadcastOptions, close: boolean) { method fetchSockets (line 570) | async fetchSockets(opts: BroadcastOptions): Promise { method serverSideEmit (line 616) | override async serverSideEmit(packet: any[]) { method publish (line 675) | protected publish( method publishAndReturnOffset (line 685) | protected publishAndReturnOffset( method publishResponse (line 702) | protected publishResponse( type CustomClusterRequest (line 736) | interface CustomClusterRequest { method constructor (line 752) | protected constructor(nsp, opts: ClusterAdapterOptions) { method init (line 773) | override init() { method scheduleHeartbeat (line 779) | private scheduleHeartbeat() { method close (line 791) | override close() { method onMessage (line 801) | override onMessage(message: ClusterMessage, offset?: string) { method serverCount (line 828) | override serverCount(): Promise { method publish (line 832) | override publish(message: DistributiveOmit { method onResponse (line 947) | override onResponse(response: ClusterResponse) { method removeNode (line 1001) | private removeNode(uid: ServerId) { FILE: packages/socket.io-adapter/lib/contrib/yeast.ts function encode (line 21) | function encode(num) { function decode (line 39) | function decode(str) { function yeast (line 55) | function yeast() { FILE: packages/socket.io-adapter/lib/in-memory-adapter.ts type SocketId (line 11) | type SocketId = string; type PrivateSessionId (line 16) | type PrivateSessionId = string; type Room (line 20) | type Room = string; type BroadcastFlags (line 22) | interface BroadcastFlags { type BroadcastOptions (line 31) | interface BroadcastOptions { type SessionToPersist (line 37) | interface SessionToPersist { type Session (line 44) | type Session = SessionToPersist & { missedPackets: unknown[][] }; class Adapter (line 46) | class Adapter extends EventEmitter { method constructor (line 56) | constructor(readonly nsp: any) { method init (line 64) | public init(): Promise | void {} method close (line 69) | public close(): Promise | void {} method serverCount (line 76) | public serverCount(): Promise { method addAll (line 87) | public addAll(id: SocketId, rooms: Set): Promise | void { method del (line 112) | public del(id: SocketId, room: Room): Promise | void { method _del (line 120) | private _del(room: Room, id: SocketId) { method delAll (line 138) | public delAll(id: SocketId): void { method broadcast (line 162) | public broadcast(packet: any, opts: BroadcastOptions): void { method broadcastWithAck (line 197) | public broadcastWithAck( method _encode (line 234) | private _encode(packet: unknown, packetOpts: Record) { method sockets (line 263) | public sockets(rooms: Set): Promise> { method socketRooms (line 278) | public socketRooms(id: SocketId): Set | undefined { method fetchSockets (line 287) | public fetchSockets(opts: BroadcastOptions): Promise { method addSockets (line 303) | public addSockets(opts: BroadcastOptions, rooms: Room[]): void { method delSockets (line 315) | public delSockets(opts: BroadcastOptions, rooms: Room[]): void { method disconnectSockets (line 327) | public disconnectSockets(opts: BroadcastOptions, close: boolean): void { method apply (line 333) | private apply(opts: BroadcastOptions, callback: (socket) => void): void { method computeExceptSids (line 360) | private computeExceptSids(exceptRooms?: Set) { method serverSideEmit (line 376) | public serverSideEmit(packet: any[]): void { method persistSession (line 385) | public persistSession(session: SessionToPersist) {} method restoreSession (line 392) | public restoreSession( type PersistedPacket (line 400) | interface PersistedPacket { type SessionWithTimestamp (line 407) | type SessionWithTimestamp = SessionToPersist & { disconnectedAt: number }; class SessionAwareAdapter (line 409) | class SessionAwareAdapter extends Adapter { method constructor (line 415) | constructor(readonly nsp: any) { method persistSession (line 440) | override persistSession(session: SessionToPersist) { method restoreSession (line 445) | override restoreSession( method broadcast (line 479) | override broadcast(packet: any, opts: BroadcastOptions) { function shouldIncludePacket (line 501) | function shouldIncludePacket( FILE: packages/socket.io-adapter/test/cluster-adapter.ts constant NODES_COUNT (line 14) | const NODES_COUNT = 3; class EventEmitterAdapter (line 16) | class EventEmitterAdapter extends ClusterAdapterWithHeartbeat { method constructor (line 20) | constructor( method doPublish (line 30) | protected doPublish(message: ClusterMessage): Promise { method doPublishResponse (line 38) | protected doPublishResponse( FILE: packages/socket.io-adapter/test/index.ts function socket (line 63) | function socket(id) { method encode (line 81) | encode() { function socket (line 103) | function socket(id) { method encode (line 123) | encode() { function socket (line 144) | function socket(id) { method encode (line 166) | encode() { method encode (line 325) | encode(packet) { method encode (line 371) | encode(packet) { method encode (line 510) | encode(packet) { method encode (line 531) | encode(packet) { FILE: packages/socket.io-adapter/test/util.ts function times (line 1) | function times(count: number, fn: () => void) { function shouldNotHappen (line 13) | function shouldNotHappen(done) { function sleep (line 17) | function sleep() { FILE: packages/socket.io-client/lib/contrib/backo2.ts function Backoff (line 13) | function Backoff(opts) { FILE: packages/socket.io-client/lib/index.ts function lookup (line 30) | function lookup( FILE: packages/socket.io-client/lib/manager.ts type ManagerOptions (line 21) | interface ManagerOptions extends EngineOptions { type ManagerReservedEvents (line 89) | interface ManagerReservedEvents { class Manager (line 101) | class Manager< method constructor (line 157) | constructor( method reconnection (line 201) | public reconnection(v?: boolean): this | boolean { method reconnectionAttempts (line 220) | public reconnectionAttempts(v?: number): this | number { method reconnectionDelay (line 236) | public reconnectionDelay(v?: number): this | number { method randomizationFactor (line 253) | public randomizationFactor(v?: number): this | number { method reconnectionDelayMax (line 270) | public reconnectionDelayMax(v?: number): this | number { method timeout (line 287) | public timeout(v?: number | boolean): this | number | boolean { method maybeReconnectOnOpen (line 299) | private maybeReconnectOnOpen() { method open (line 318) | public open(fn?: (err?: Error) => void): this { method connect (line 384) | public connect(fn?: (err?: Error) => void): this { method onopen (line 393) | private onopen(): void { method onping (line 420) | private onping(): void { method ondata (line 429) | private ondata(data): void { method ondecoded (line 442) | private ondecoded(packet): void { method onerror (line 454) | private onerror(err): void { method socket (line 465) | public socket(nsp: string, opts?: Partial): Socket { method _destroy (line 483) | _destroy(socket: Socket): void { method _packet (line 504) | _packet(packet: Partial): vo... method cleanup (line 518) | private cleanup(): void { method _close (line 532) | _close(): void { method disconnect (line 544) | private disconnect(): void { method onclose (line 557) | private onclose(reason: string, description?: DisconnectDescription): ... method reconnect (line 576) | private reconnect(): this | void { method onreconnect (line 628) | private onreconnect(): void { FILE: packages/socket.io-client/lib/on.ts function on (line 3) | function on( FILE: packages/socket.io-client/lib/socket.ts type PrependTimeoutError (line 15) | type PrependTimeoutError = { type DecorateAcknowledgements (line 40) | type DecorateAcknowledgements = { type Last (line 46) | type Last = T extends [...infer H, infer L] ? L : any; type AllButLast (line 47) | type AllButLast = T extends [...infer H, infer L] type FirstArg (line 50) | type FirstArg = T extends (arg: infer Param) => infer Result type SocketOptions (line 54) | interface SocketOptions { type QueuedPacket (line 72) | type QueuedPacket = { constant RESERVED_EVENTS (line 90) | const RESERVED_EVENTS = Object.freeze({ type Flags (line 100) | interface Flags { type DisconnectDescription (line 107) | type DisconnectDescription = type SocketReservedEvents (line 114) | interface SocketReservedEvents { class Socket (line 147) | class Socket< method constructor (line 279) | constructor(io: Manager, nsp: string, opts?: Partial) { method disconnected (line 304) | public get disconnected(): boolean { method subEvents (line 313) | private subEvents(): void { method active (line 342) | public get active(): boolean { method connect (line 356) | public connect(): this { method open (line 368) | public open(): this { method send (line 387) | public send(...args: any[]): this { method emit (line 410) | public emit>( method _registerAckCallback (line 464) | private _registerAckCallback(id: number, ack: (...args: any[]) => void) { method emitWithAck (line 510) | public emitWithAck>( method _addToQueue (line 529) | private _addToQueue(args: unknown[]) { method _drainQueue (line 581) | private _drainQueue(force = false) { method packet (line 607) | private packet(packet: Partial): void { method onopen (line 617) | private onopen(): void { method _sendConnectPacket (line 634) | private _sendConnectPacket(data: Record) { method onerror (line 649) | private onerror(err: Error): void { method onclose (line 662) | private onclose( method _clearAcks (line 679) | private _clearAcks() { method onpacket (line 702) | private onpacket(packet: Packet): void { method onevent (line 751) | private onevent(packet: Packet): void { method emitEvent (line 767) | private emitEvent(args: ReadonlyArray): void { method ack (line 785) | private ack(id: number): (...args: any[]) => void { method onack (line 808) | private onack(packet: Packet): void { method onconnect (line 829) | private onconnect(id: string, pid: string) { method emitBuffered (line 845) | private emitBuffered(): void { method ondisconnect (line 861) | private ondisconnect(): void { method destroy (line 874) | private destroy(): void { method disconnect (line 899) | public disconnect(): this { method close (line 920) | public close(): this { method compress (line 933) | public compress(compress: boolean): this { method volatile (line 947) | public get volatile(): this { method timeout (line 965) | public timeout( method onAny (line 983) | public onAny(listener: (...args: any[]) => void): this { method prependAny (line 1000) | public prependAny(listener: (...args: any[]) => void): this { method offAny (line 1024) | public offAny(listener?: (...args: any[]) => void): this { method listenersAny (line 1046) | public listenersAny() { method onAnyOutgoing (line 1063) | public onAnyOutgoing(listener: (...args: any[]) => void): this { method prependAnyOutgoing (line 1082) | public prependAnyOutgoing(listener: (...args: any[]) => void): this { method offAnyOutgoing (line 1106) | public offAnyOutgoing(listener?: (...args: any[]) => void): this { method listenersAnyOutgoing (line 1128) | public listenersAnyOutgoing() { method notifyOutgoingListeners (line 1139) | private notifyOutgoingListeners(packet: Packet) { type DisconnectReason (line 1150) | type DisconnectReason = FILE: packages/socket.io-client/lib/url.ts type ParsedUrl (line 6) | type ParsedUrl = { function url (line 39) | function url( FILE: packages/socket.io-client/support/bundle-size.js function format (line 16) | function format(size) { function main (line 20) | async function main() { FILE: packages/socket.io-client/test/browser-runner.ts function run (line 6) | async function run() { FILE: packages/socket.io-client/test/support/hooks.ts method beforeAll (line 6) | beforeAll() { method afterAll (line 9) | afterAll() { FILE: packages/socket.io-client/test/support/server.ts function createServer (line 4) | function createServer() { FILE: packages/socket.io-client/test/support/util.ts function wrap (line 13) | function wrap(fn: (done: (err?: Error) => void) => void) { function success (line 29) | function success(done, socket) { constant BASE_URL (line 37) | const BASE_URL = "http://localhost:3210"; FILE: packages/socket.io-client/test/typed-events.test-d.ts type Events (line 50) | enum Events { type BidirectionalEvents (line 108) | interface BidirectionalEvents { type ClientToServerEvents (line 153) | interface ClientToServerEvents { type ServerToClientEvents (line 168) | interface ServerToClientEvents { FILE: packages/socket.io-client/wdio.conf.js constant BASE_SAUCE_OPTIONS (line 1) | const BASE_SAUCE_OPTIONS = { FILE: packages/socket.io-cluster-adapter/lib/index.ts constant MESSAGE_SOURCE (line 13) | const MESSAGE_SOURCE = "_sio_adapter"; function ignoreError (line 16) | function ignoreError() {} function createAdapter (line 26) | function createAdapter(opts: Partial = {}) { class NodeClusterAdapter (line 32) | class NodeClusterAdapter extends ClusterAdapterWithHeartbeat { method constructor (line 33) | constructor(nsp: any, opts: ClusterAdapterOptions = {}) { method doPublish (line 55) | protected override doPublish(message: ClusterMessage & { source: strin... method doPublishResponse (line 63) | protected override doPublishResponse( constant UIDS (line 76) | const UIDS = Symbol("uids"); function setupPrimary (line 78) | function setupPrimary() { FILE: packages/socket.io-cluster-adapter/test/index.ts constant NODES_COUNT (line 7) | const NODES_COUNT = 3; FILE: packages/socket.io-cluster-adapter/test/util.ts function times (line 1) | function times(count: number, fn: () => void) { function sleep (line 11) | function sleep(duration: number) { FILE: packages/socket.io-cluster-engine/lib/cluster.ts constant MESSAGE_SOURCE (line 7) | const MESSAGE_SOURCE = "_eio"; function ignoreError (line 10) | function ignoreError() {} function setupPrimary (line 12) | function setupPrimary() { class NodeClusterEngine (line 44) | class NodeClusterEngine extends ClusterEngine { method constructor (line 45) | constructor(opts?: ServerOptions) { method publishMessage (line 59) | override publishMessage(message: Message & { _source?: string }) { FILE: packages/socket.io-cluster-engine/lib/engine.ts type Brand (line 23) | type Brand = K & { __brand: T }; type NodeId (line 25) | type NodeId = Brand; type SessionId (line 26) | type SessionId = Brand; type RequestId (line 27) | type RequestId = Brand; function randomId (line 29) | function randomId() { type MessageType (line 33) | enum MessageType { type Message (line 43) | type Message = { type ClusterRequest (line 107) | type ClusterRequest = { function isClientLockable (line 113) | function isClientLockable( function isValidSessionId (line 134) | function isValidSessionId(str: string) { type ClusterEngineOptions (line 138) | interface ClusterEngineOptions { method constructor (line 167) | constructor(opts?: ServerOptions & ClusterEngineOptions) { method onMessage (line 179) | protected onMessage(message: Message) { method _forwardFlushWhenPolling (line 346) | private _forwardFlushWhenPolling( method _forwardFlushWhenWebSocket (line 376) | private _forwardFlushWhenWebSocket( method verify (line 398) | override verify( method _acquireLock (line 433) | private _acquireLock( method _hookTransport (line 465) | private _hookTransport( method _tryUpgrade (line 486) | private _tryUpgrade( method _onPacket (line 526) | private _onPacket(sid: SessionId, senderId: NodeId, packet: Packet) { method _onClose (line 538) | private _onClose( method onWebSocket (line 554) | override onWebSocket(req: any, socket: any, websocket: any) { method _onUpgradeSuccess (line 576) | private _onUpgradeSuccess( method emit (line 640) | override emit(ev: string, ...args: any[]): boolean { method _doConnect (line 668) | private _doConnect(socket: Socket) { FILE: packages/socket.io-cluster-engine/lib/redis.ts constant MESSAGE_SOURCE (line 9) | const MESSAGE_SOURCE = "_eio"; function ignoreError (line 12) | function ignoreError() {} type PrimaryWithRedisOptions (line 14) | interface PrimaryWithRedisOptions { function channelName (line 23) | function channelName(prefix: string, nodeId?: string) { function setupPrimaryWithRedis (line 31) | function setupPrimaryWithRedis( type RedisEngineOptions (line 124) | interface RedisEngineOptions extends ServerOptions { class RedisEngine (line 133) | class RedisEngine extends ClusterEngine { method constructor (line 137) | constructor(pubClient: any, subClient: any, opts?: RedisEngineOptions) { method publishMessage (line 166) | publishMessage(message: Message & { _source?: string }): void { constant RETURN_BUFFERS (line 177) | const RETURN_BUFFERS = true; function SUBSCRIBE (line 179) | function SUBSCRIBE( function isRedisClient (line 198) | function isRedisClient(redisClient: any) { FILE: packages/socket.io-cluster-engine/test/cluster.ts constant WORKER_COUNT (line 6) | const WORKER_COUNT = 3; function onExit (line 29) | function onExit() { FILE: packages/socket.io-cluster-engine/test/in-memory.ts class InMemoryEngine (line 9) | class InMemoryEngine extends ClusterEngine { method constructor (line 10) | constructor( method publishMessage (line 18) | publishMessage(message: Message) { FILE: packages/socket.io-cluster-engine/test/util.ts function url (line 3) | function url(port: number, sid?: string) { function handshake (line 11) | async function handshake(port: number) { FILE: packages/socket.io-component-emitter/lib/cjs/index.d.ts type EventsMap (line 5) | interface EventsMap { type DefaultEventsMap (line 13) | interface DefaultEventsMap { type EventNames (line 20) | type EventNames = keyof Map & (string | symbol); type EventParams (line 23) | type EventParams< type ReservedOrUserEventNames (line 31) | type ReservedOrUserEventNames< type ReservedOrUserListener (line 40) | type ReservedOrUserListener< type FallbackToUntypedListener (line 58) | type FallbackToUntypedListener = [T] extends [never] class Emitter (line 75) | class Emitter< FILE: packages/socket.io-component-emitter/lib/cjs/index.js function Emitter (line 14) | function Emitter(obj) { function mixin (line 26) | function mixin(obj) { function on (line 61) | function on() { FILE: packages/socket.io-component-emitter/lib/esm/index.d.ts type EventsMap (line 5) | interface EventsMap { type DefaultEventsMap (line 13) | interface DefaultEventsMap { type EventNames (line 20) | type EventNames = keyof Map & (string | symbol); type EventParams (line 23) | type EventParams< type ReservedOrUserEventNames (line 31) | type ReservedOrUserEventNames< type ReservedOrUserListener (line 40) | type ReservedOrUserListener< type FallbackToUntypedListener (line 58) | type FallbackToUntypedListener = [T] extends [never] class Emitter (line 75) | class Emitter< FILE: packages/socket.io-component-emitter/lib/esm/index.js function Emitter (line 7) | function Emitter(obj) { function mixin (line 19) | function mixin(obj) { function on (line 54) | function on() { FILE: packages/socket.io-component-emitter/test/emitter.js function Custom (line 4) | function Custom() { function one (line 83) | function one() { calls.push('one'); } function two (line 84) | function two() { calls.push('two'); } function one (line 99) | function one() { calls.push('one'); } function b (line 113) | function b () { function one (line 133) | function one() { calls.push('one'); } function two (line 134) | function two() { calls.push('two'); } function cb (line 150) | function cb() {} function cb1 (line 162) | function cb1() {} function cb2 (line 163) | function cb2() {} function one (line 178) | function one() { calls.push('one'); } function two (line 179) | function two() { calls.push('two'); } function foo (line 200) | function foo(){} FILE: packages/socket.io-parser/bench/index.js function test (line 4) | function test(packet, deferred) { FILE: packages/socket.io-parser/lib/binary.ts function deconstructPacket (line 11) | function deconstructPacket(packet) { function _deconstructPacket (line 20) | function _deconstructPacket(data, buffers) { function reconstructPacket (line 54) | function reconstructPacket(packet, buffers) { function _reconstructPacket (line 60) | function _reconstructPacket(data, buffers) { FILE: packages/socket.io-parser/lib/index.ts constant RESERVED_EVENTS (line 11) | const RESERVED_EVENTS = [ type PacketType (line 28) | enum PacketType { type Packet (line 38) | interface Packet { class Encoder (line 50) | class Encoder { method constructor (line 56) | constructor(private replacer?: (this: any, key: string, value: any) =>... method encode (line 63) | public encode(obj: Packet) { method encodeAsString (line 86) | private encodeAsString(obj: Packet) { method encodeAsBinary (line 124) | private encodeAsBinary(obj: Packet) { type DecoderReservedEvents (line 134) | interface DecoderReservedEvents { type JSONReviver (line 138) | type JSONReviver = (this: any, key: string, value: any) => any; type DecoderOptions (line 140) | interface DecoderOptions { class Decoder (line 157) | class Decoder extends Emitter<{}, {}, DecoderReservedEvents> { method constructor (line 164) | constructor(opts?: DecoderOptions | JSONReviver) { method add (line 181) | public add(obj: any) { method decodeString (line 225) | private decodeString(str): Packet { method tryParse (line 298) | private tryParse(str) { method isPayloadValid (line 306) | private static isPayloadValid(type: PacketType, payload: any): boolean { method destroy (line 331) | public destroy() { class BinaryReconstructor (line 348) | class BinaryReconstructor { method constructor (line 352) | constructor(readonly packet: Packet) { method takeBinaryData (line 364) | public takeBinaryData(binData) { method finishedReconstruction (line 378) | public finishedReconstruction() { function isNamespaceValid (line 384) | function isNamespaceValid(nsp: unknown) { function isAckIdValid (line 399) | function isAckIdValid(id: unknown) { function isObject (line 404) | function isObject(value: any): boolean { function isDataValid (line 408) | function isDataValid(type: PacketType, payload: unknown) { function isPacketValid (line 430) | function isPacketValid(packet: Packet): boolean { FILE: packages/socket.io-parser/lib/is-binary.ts function isBinary (line 25) | function isBinary(obj: any) { function hasBinary (line 33) | function hasBinary(obj: any, toJSON?: boolean) { FILE: packages/socket.io-parser/wdio.conf.js constant BASE_SAUCE_OPTIONS (line 1) | const BASE_SAUCE_OPTIONS = { FILE: packages/socket.io-postgres-emitter/lib/index.ts constant EMITTER_UID (line 12) | const EMITTER_UID = "emitter"; type EventType (line 49) | enum EventType { type BroadcastFlags (line 62) | interface BroadcastFlags { type PostgresEmitterOptions (line 67) | interface PostgresEmitterOptions { class Emitter (line 84) | class Emitter< method constructor (line 92) | constructor( method of (line 109) | public of(nsp: string): Emitter { method emit (line 119) | public emit>( method to (line 136) | public to( method in (line 149) | public in( method except (line 162) | public except( method volatile (line 176) | public get volatile(): BroadcastOperator { method compress (line 187) | public compress( method socketsJoin (line 199) | public socketsJoin(rooms: string | string[]): void { method socketsLeave (line 209) | public socketsLeave(rooms: string | string[]): void { method disconnectSockets (line 219) | public disconnectSockets(close: boolean = false): void { method serverSideEmit (line 229) | public serverSideEmit>( constant RESERVED_EVENTS (line 239) | const RESERVED_EVENTS: ReadonlySet = new Set([ class BroadcastOperator (line 248) | class BroadcastOperator< method constructor (line 253) | constructor( method to (line 267) | public to( method in (line 291) | public in( method except (line 304) | public except( method compress (line 328) | public compress( method volatile (line 348) | public get volatile(): BroadcastOperator { method publish (line 358) | private async publish(document: any) { method publishWithAttachment (line 393) | private async publishWithAttachment(document: any) { method emit (line 423) | public emit>( method socketsJoin (line 462) | public socketsJoin(rooms: string | string[]): void { method socketsLeave (line 481) | public socketsLeave(rooms: string | string[]): void { method disconnectSockets (line 500) | public disconnectSockets(close: boolean = false): void { method serverSideEmit (line 519) | public serverSideEmit>( FILE: packages/socket.io-postgres-emitter/lib/typed-events.ts type EventsMap (line 5) | interface EventsMap { type DefaultEventsMap (line 13) | interface DefaultEventsMap { type EventNames (line 20) | type EventNames = keyof Map & (string | symbol); type EventParams (line 23) | type EventParams< type TypedEventBroadcaster (line 32) | interface TypedEventBroadcaster { FILE: packages/socket.io-postgres-emitter/test/index.ts constant NODES_COUNT (line 11) | const NODES_COUNT = 3; FILE: packages/socket.io-postgres-emitter/test/util.ts function times (line 1) | function times(count: number, fn: () => void) { function sleep (line 11) | function sleep(duration: number) { FILE: packages/socket.io-redis-streams-emitter/lib/adapter-types.ts type MessageType (line 2) | enum MessageType { type ServerId (line 18) | type ServerId = string; type ClusterMessage (line 20) | type ClusterMessage = { type BroadcastFlags (line 68) | interface BroadcastFlags { FILE: packages/socket.io-redis-streams-emitter/lib/index.ts constant EMITTER_UID (line 14) | const EMITTER_UID = "emitter"; type DistributiveOmit (line 16) | type DistributiveOmit = T extends any method emit (line 35) | public emit>( method to (line 49) | public to( method in (line 62) | public in( method except (line 75) | public except( method volatile (line 89) | public get volatile(): BroadcastOperator { method compress (line 100) | public compress( method socketsJoin (line 112) | public socketsJoin(rooms: string | string[]): void { method socketsLeave (line 122) | public socketsLeave(rooms: string | string[]): void { method disconnectSockets (line 132) | public disconnectSockets(close: boolean = false): void { method serverSideEmit (line 142) | public serverSideEmit>( method newBroadcastOperator (line 149) | private newBroadcastOperator() { constant RESERVED_EVENTS (line 156) | const RESERVED_EVENTS: ReadonlySet = new Set([ class BroadcastOperator (line 165) | class BroadcastOperator< method constructor (line 170) | constructor( method to (line 186) | public to( method in (line 210) | public in( method except (line 223) | public except( method compress (line 247) | public compress( method volatile (line 267) | public get volatile(): BroadcastOperator { method emit (line 283) | public emit>( method socketsJoin (line 321) | public socketsJoin(rooms: string | string[]): void { method socketsLeave (line 341) | public socketsLeave(rooms: string | string[]): void { method disconnectSockets (line 361) | public disconnectSockets(close: boolean = false): void { method serverSideEmit (line 381) | public serverSideEmit>( function flattenPayload (line 400) | function flattenPayload(message: ClusterMessage) { type RedisStreamsEmitterOptions (line 430) | interface RedisStreamsEmitterOptions { class Emitter (line 443) | class Emitter< method constructor (line 451) | constructor( method of (line 468) | public of(nsp: string) { method publish (line 472) | protected override publish( FILE: packages/socket.io-redis-streams-emitter/lib/typed-events.ts type EventsMap (line 5) | interface EventsMap { type DefaultEventsMap (line 13) | interface DefaultEventsMap { type EventNames (line 20) | type EventNames = keyof Map & (string | symbol); type EventParams (line 23) | type EventParams< type TypedEventBroadcaster (line 32) | interface TypedEventBroadcaster { FILE: packages/socket.io-redis-streams-emitter/lib/util.ts function hasBinary (line 1) | function hasBinary(obj: any, toJSON?: boolean): boolean { function isRedisV4Client (line 39) | function isRedisV4Client(redisClient: any) { function XADD (line 46) | function XADD( FILE: packages/socket.io-redis-streams-emitter/test/index.ts constant PROPAGATION_DELAY_IN_MS (line 8) | const PROPAGATION_DELAY_IN_MS = 100; FILE: packages/socket.io-redis-streams-emitter/test/util.ts function times (line 9) | function times(count: number, fn: () => void) { function sleep (line 21) | function sleep(duration: number) { function initRedisClient (line 30) | async function initRedisClient() { function init (line 102) | async function init() { function setup (line 138) | async function setup() { FILE: packages/socket.io/client-dist/socket.io.js function _arrayLikeToArray (line 12) | function _arrayLikeToArray(r, a) { function _arrayWithoutHoles (line 17) | function _arrayWithoutHoles(r) { function _construct (line 20) | function _construct(t, e, r) { function _defineProperties (line 27) | function _defineProperties(e, r) { function _createClass (line 33) | function _createClass(e, r, t) { function _createForOfIteratorHelper (line 38) | function _createForOfIteratorHelper(r, e) { function _extends (line 86) | function _extends() { function _getPrototypeOf (line 95) | function _getPrototypeOf(t) { function _inheritsLoose (line 100) | function _inheritsLoose(t, o) { function _isNativeFunction (line 103) | function _isNativeFunction(t) { function _isNativeReflectConstruct (line 110) | function _isNativeReflectConstruct() { function _iterableToArray (line 118) | function _iterableToArray(r) { function _nonIterableSpread (line 121) | function _nonIterableSpread() { function _setPrototypeOf (line 124) | function _setPrototypeOf(t, e) { function _toConsumableArray (line 129) | function _toConsumableArray(r) { function _toPrimitive (line 132) | function _toPrimitive(t, r) { function _toPropertyKey (line 142) | function _toPropertyKey(t) { function _typeof (line 146) | function _typeof(o) { function _unsupportedIterableToArray (line 155) | function _unsupportedIterableToArray(r, a) { function _wrapNativeSuper (line 162) | function _wrapNativeSuper(t) { function toArray (line 235) | function toArray(data) { function encodePacketToBinary (line 245) | function encodePacketToBinary(packet, callback) { function createPacketEncoderStream (line 382) | function createPacketEncoderStream() { function totalLength (line 414) | function totalLength(chunks) { function concatChunks (line 419) | function concatChunks(chunks, size) { function createPacketDecoderStream (line 437) | function createPacketDecoderStream(maxPayload, binaryType) { function Emitter (line 508) | function Emitter(obj) { function mixin (line 520) | function mixin(obj) { function on (line 553) | function on() { function createCookieJar (line 683) | function createCookieJar() {} function pick (line 685) | function pick(obj) { function installTimerFunctions (line 699) | function installTimerFunctions(obj, opts) { function byteLength (line 711) | function byteLength(obj) { function utf8Length (line 718) | function utf8Length(str) { function randomString (line 739) | function randomString() { function encode (line 751) | function encode(obj) { function decode (line 767) | function decode(qs) { function TransportError (line 778) | function TransportError(reason, description, context) { function Transport (line 796) | function Transport(opts) { function Polling (line 916) | function Polling() { function empty (line 1079) | function empty() {} function BaseXHR (line 1087) | function BaseXHR(opts) { function Request (line 1144) | function Request(createRequest, uri, opts) { function unloadHandler (line 1300) | function unloadHandler() { function XHR (line 1321) | function XHR(opts) { function newRequest (line 1339) | function newRequest(opts) { function BaseWS (line 1357) | function BaseWS() { function WS (line 1476) | function WS() { function WT (line 1499) | function WT() { function parse (line 1607) | function parse(str) { function pathNames (line 1633) | function pathNames(obj, path) { function queryKey (line 1644) | function queryKey(uri, query) { function SocketWithoutUpgrade (line 1695) | function SocketWithoutUpgrade(uri, opts) { function SocketWithUpgrade (line 2178) | function SocketWithUpgrade() { function freezeTransport (line 2239) | function freezeTransport() { function onTransportClose (line 2255) | function onTransportClose() { function onclose (line 2259) | function onclose() { function onupgrade (line 2263) | function onupgrade(to) { function Socket (line 2331) | function Socket(uri) { function getDefaultExportFromCjs (line 2349) | function getDefaultExportFromCjs (x) { function requireMs (line 2357) | function requireMs() { function setup (line 2521) | function setup(env) { function useColors (line 2849) | function useColors() { function formatArgs (line 2882) | function formatArgs(args) { function save (line 2925) | function save(namespaces) { function load (line 2944) | function load() { function localstorage (line 2971) | function localstorage() { function url (line 3009) | function url(uri) { function isBinary (line 3067) | function isBinary(obj) { function hasBinary (line 3070) | function hasBinary(obj, toJSON) { function deconstructPacket (line 3103) | function deconstructPacket(packet) { function _deconstructPacket (line 3114) | function _deconstructPacket(data, buffers) { function reconstructPacket (line 3148) | function reconstructPacket(packet, buffers) { function _reconstructPacket (line 3153) | function _reconstructPacket(data, buffers) { function Encoder (line 3216) | function Encoder(replacer) { function Decoder (line 3289) | function Decoder(reviver) { function BinaryReconstructor (line 3443) | function BinaryReconstructor(packet) { function isNamespaceValid (line 3476) | function isNamespaceValid(nsp) { function isAckIdValid (line 3483) | function isAckIdValid(id) { function isObject (line 3487) | function isObject(value) { function isDataValid (line 3490) | function isDataValid(type, payload) { function isPacketValid (line 3506) | function isPacketValid(packet) { method PacketType (line 3513) | get PacketType () { return PacketType; } function on (line 3519) | function on(obj, ev, fn) { function Socket (line 3568) | function Socket(io, nsp, opts) { function Backoff (line 4481) | function Backoff(opts) { function Manager (line 4539) | function Manager(uri, opts) { function lookup (line 4915) | function lookup(uri, opts) { FILE: packages/socket.io/lib/broadcast-operator.ts class BroadcastOperator (line 20) | class BroadcastOperator method constructor (line 23) | constructor( method to (line 48) | public to(room: Room | Room[]) { method in (line 73) | public in(room: Room | Room[]) { method except (line 93) | public except(room: Room | Room[]) { method compress (line 117) | public compress(compress: boolean) { method volatile (line 137) | public get volatile() { method local (line 156) | public get local() { method timeout (line 180) | public timeout(timeout: number) { method emit (line 209) | public emit>( method emitWithAck (line 324) | public emitWithAck>( method allSockets (line 347) | public allSockets(): Promise> { method fetchSockets (line 380) | public fetchSockets(): Promise[]> { method socketsJoin (line 416) | public socketsJoin(room: Room | Room[]): void { method socketsLeave (line 441) | public socketsLeave(room: Room | Room[]): void { method disconnectSockets (line 466) | public disconnectSockets(close: boolean = false): void { type SocketDetails (line 481) | interface SocketDetails { class RemoteSocket (line 491) | class RemoteSocket method constructor (line 501) | constructor(adapter: Adapter, details: SocketDetails) { method timeout (line 539) | public timeout( method emit (line 545) | public emit>( method join (line 557) | public join(room: Room | Room[]): void { method leave (line 566) | public leave(room: Room): void { method disconnect (line 576) | public disconnect(close = false): this { FILE: packages/socket.io/lib/client.ts type WriteOptions (line 14) | interface WriteOptions { type CloseReason (line 21) | type CloseReason = class Client (line 28) | class Client< method constructor (line 62) | constructor( method request (line 80) | public get request(): IncomingMessage { method setup (line 89) | private setup() { method connect (line 118) | private connect(name: string, auth: Record = {}): void { method doConnect (line 156) | private doConnect(name: string, auth: Record): void { method _disconnect (line 175) | _disconnect(): void { method _remove (line 188) | _remove( method close (line 205) | private close(): void { method _packet (line 220) | _packet(packet: Packet | Packet[], opts: WriteOptions = {}): void { method writeToEngine (line 231) | private writeToEngine( method ondata (line 254) | private ondata(data: unknown): void { method ondecoded (line 269) | private ondecoded(packet: Packet): void { method _parseNamespace (line 289) | private _parseNamespace(packet: Packet) { method onerror (line 309) | private onerror(err): void { method onclose (line 323) | private onclose( method destroy (line 345) | private destroy(): void { FILE: packages/socket.io/lib/index.ts type ParentNspNameMatchFn (line 57) | type ParentNspNameMatchFn = ( type AdapterConstructor (line 63) | type AdapterConstructor = typeof Adapter | ((nsp: Namespace) => Adapter); type TServerInstance (line 65) | type TServerInstance = type ServerOptions (line 71) | interface ServerOptions extends EngineOptions, AttachOptions { class Server (line 149) | class Server< method constructor (line 301) | constructor( method _opts (line 342) | get _opts() { method serveClient (line 355) | public serveClient(v?: boolean): this | boolean { method _checkNamespace (line 370) | _checkNamespace( method path (line 415) | public path(v?: string): this | string { method connectTimeout (line 436) | public connectTimeout(v?: number): this | number { method adapter (line 450) | public adapter( method listen (line 468) | public listen( method attach (line 482) | public attach( method attachApp (line 523) | public attachApp(app /*: TemplatedApp */, opts: Partial... method initEngine (line 593) | private initEngine( method attachServe (line 617) | private attachServe(srv: TServerInstance): void { method serve (line 646) | private serve(req: IncomingMessage, res: ServerResponse): void { method sendFile (line 684) | private static sendFile( method bind (line 725) | public bind(engine: any): this { method onconnection (line 740) | private onconnection(conn: RawSocket): this { method of (line 769) | public of( method close (line 822) | public async close(fn?: (err?: Error) => void): Promise { method use (line 864) | public use( method to (line 890) | public to(room: Room | Room[]) { method in (line 904) | public in(room: Room | Room[]) { method except (line 924) | public except(room: Room | Room[]) { method send (line 943) | public send(...args: EventParams): this { method write (line 955) | public write(...args: EventParams): this { method serverSideEmit (line 988) | public serverSideEmit>( method serverSideEmitWithAck (line 1014) | public serverSideEmitWithAck> { method compress (line 1040) | public compress(compress: boolean) { method volatile (line 1054) | public get volatile() { method local (line 1067) | public get local() { method timeout (line 1085) | public timeout(timeout: number) { method fetchSockets (line 1113) | public fetchSockets(): Promise[]> { method socketsJoin (line 1132) | public socketsJoin(room: Room | Room[]) { method socketsLeave (line 1150) | public socketsLeave(room: Room | Room[]) { method disconnectSockets (line 1168) | public disconnectSockets(close: boolean = false) { FILE: packages/socket.io/lib/namespace.ts type ExtendedError (line 25) | interface ExtendedError extends Error { type NamespaceReservedEventsMap (line 29) | interface NamespaceReservedEventsMap< type ServerReservedEventsMap (line 43) | interface ServerReservedEventsMap< constant RESERVED_EVENTS (line 64) | const RESERVED_EVENTS: ReadonlySet = new Set< class Namespace (line 121) | class Namespace< method constructor (line 180) | constructor( method _initAdapter (line 197) | _initAdapter(): void { method use (line 219) | public use( method run (line 236) | private run( method to (line 278) | public to(room: Room | Room[]) { method in (line 297) | public in(room: Room | Room[]) { method except (line 322) | public except(room: Room | Room[]) { method _add (line 335) | async _add( method _createSocket (line 382) | private async _createSocket( method _doConnect (line 408) | private _doConnect( method _remove (line 434) | _remove( method emit (line 462) | public emit>( method send (line 489) | public send(...args: EventParams): this { method write (line 501) | public write(...args: EventParams): this { method serverSideEmit (line 536) | public serverSideEmit>( method serverSideEmitWithAck (line 569) | public serverSideEmitWithAck> { method compress (line 623) | public compress(compress: boolean) { method volatile (line 642) | public get volatile() { method local (line 660) | public get local() { method timeout (line 683) | public timeout(timeout: number) { method fetchSockets (line 716) | public fetchSockets() { method socketsJoin (line 738) | public socketsJoin(room: Room | Room[]) { method socketsLeave (line 760) | public socketsLeave(room: Room | Room[]) { method disconnectSockets (line 782) | public disconnectSockets(close: boolean = false) { FILE: packages/socket.io/lib/parent-namespace.ts class ParentNamespace (line 30) | class ParentNamespace< method constructor (line 41) | constructor( method _initAdapter (line 50) | _initAdapter(): void { method emit (line 54) | public emit>( method createChild (line 65) | createChild( method fetchSockets (line 101) | fetchSockets(): Promise[]> { class ParentBroadcastAdapter (line 115) | class ParentBroadcastAdapter extends Adapter { method broadcast (line 116) | broadcast(packet: any, opts: BroadcastOptions) { FILE: packages/socket.io/lib/socket-types.ts type ClientReservedEvents (line 5) | type ClientReservedEvents = "connect_error"; type DisconnectReason (line 8) | type DisconnectReason = type SocketReservedEventsMap (line 21) | interface SocketReservedEventsMap { type EventEmitterReservedEventsMap (line 28) | interface EventEmitterReservedEventsMap { constant RESERVED_EVENTS (line 39) | const RESERVED_EVENTS: ReadonlySet = new Set< type Handshake (line 56) | interface Handshake { FILE: packages/socket.io/lib/socket.ts constant RECOVERABLE_DISCONNECT_REASONS (line 39) | const RECOVERABLE_DISCONNECT_REASONS: ReadonlySet = ne... type Event (line 51) | type Event = [string, ...any[]]; function noop (line 53) | function noop() {} class Socket (line 86) | class Socket< method constructor (line 158) | constructor( method buildHandshake (line 201) | private buildHandshake(auth: object): Handshake { method emit (line 235) | public emit>( method emitWithAck (line 294) | public emitWithAck>( method registerAckCallback (line 315) | private registerAckCallback(id: number, ack: (...args: any[]) => void)... method to (line 355) | public to(room: Room | Room[]) { method in (line 371) | public in(room: Room | Room[]) { method except (line 394) | public except(room: Room | Room[]) { method send (line 415) | public send(...args: EventParams): this { method write (line 425) | public write(...args: EventParams): this { method packet (line 437) | private packet( method join (line 461) | public join(rooms: Room | Array): Promise | void { method leave (line 485) | public leave(room: string): Promise | void { method leaveAll (line 496) | private leaveAll(): void { method _onconnect (line 508) | _onconnect(): void { method _onpacket (line 528) | _onpacket(packet: Packet): void { method onevent (line 559) | private onevent(packet: Packet): void { method ack (line 583) | private ack(id: number): () => void { method onack (line 607) | private onack(packet: Packet): void { method ondisconnect (line 623) | private ondisconnect(): void { method _onerror (line 633) | _onerror(err: Error): void { method _onclose (line 650) | _onclose(reason: DisconnectReason, description?: any): this | undefined { method _cleanup (line 680) | _cleanup() { method _error (line 693) | _error(err): void { method disconnect (line 712) | public disconnect(close = false): this { method compress (line 734) | public compress(compress: boolean): this { method volatile (line 751) | public get volatile(): this { method broadcast (line 768) | public get broadcast() { method local (line 783) | public get local() { method timeout (line 802) | public timeout( method dispatch (line 820) | private dispatch(event: Event): void { method use (line 859) | public use(fn: (event: Event, next: (err?: Error) => void) => void): t... method run (line 871) | private run(event: Event, fn: (err?: Error) => void): void { method disconnected (line 895) | public get disconnected() { method request (line 902) | public get request(): IncomingMessage { method conn (line 918) | public get conn() { method rooms (line 934) | public get rooms(): Set { method onAny (line 951) | public onAny(listener: (...args: any[]) => void): this { method prependAny (line 963) | public prependAny(listener: (...args: any[]) => void): this { method offAny (line 989) | public offAny(listener?: (...args: any[]) => void): this { method listenersAny (line 1011) | public listenersAny() { method onAnyOutgoing (line 1030) | public onAnyOutgoing(listener: (...args: any[]) => void): this { method prependAnyOutgoing (line 1049) | public prependAnyOutgoing(listener: (...args: any[]) => void): this { method offAnyOutgoing (line 1075) | public offAnyOutgoing(listener?: (...args: any[]) => void): this { method listenersAnyOutgoing (line 1097) | public listenersAnyOutgoing() { method notifyOutgoingListeners (line 1108) | private notifyOutgoingListeners(packet: Packet) { method newBroadcastOperator (line 1117) | private newBroadcastOperator() { FILE: packages/socket.io/lib/typed-events.ts type EventsMap (line 6) | interface EventsMap { type DefaultEventsMap (line 14) | interface DefaultEventsMap { type EventNames (line 21) | type EventNames = keyof Map & (string | symbol); type EventNamesWithAck (line 26) | type EventNamesWithAck< type EventNamesWithoutAck (line 47) | type EventNamesWithoutAck< type RemoveAcknowledgements (line 62) | type RemoveAcknowledgements = { type EventNamesWithError (line 66) | type EventNamesWithError< type EventParams (line 80) | type EventParams< type ReservedOrUserEventNames (line 88) | type ReservedOrUserEventNames< type ReservedOrUserListener (line 97) | type ReservedOrUserListener< type FallbackToUntypedListener (line 115) | type FallbackToUntypedListener = [T] extends [never] type TypedEventBroadcaster (line 123) | interface TypedEventBroadcaster { method on (line 157) | on>( method once (line 170) | once>( method emit (line 183) | emit>( method emitReserved (line 199) | protected emitReserved>( method emitUntyped (line 216) | protected emitUntyped(ev: string, ...args: any[]): boolean { method listeners (line 226) | listeners = 0 extends 1 & T ? true : false; type IfAny (line 256) | type IfAny = type Last (line 267) | type Last = type FirstNonErrorTuple (line 276) | type FirstNonErrorTuple = T[0] extends Error type AllButLast (line 279) | type AllButLast = T extends [...infer H, infer L] type LooseParameters (line 285) | type LooseParameters = T extends (...args: infer P) => any ? P : never; type FirstNonErrorArg (line 287) | type FirstNonErrorArg = T extends (...args: infer Params) => any type PrependTimeoutError (line 290) | type PrependTimeoutError = { type MultiplyArray (line 298) | type MultiplyArray = { type InferFirstAndPreserveLabel (line 301) | type InferFirstAndPreserveLabel = T extends [any, ...in... type ExpectMultipleResponses (line 311) | type ExpectMultipleResponses = { type DecorateAcknowledgements (line 346) | type DecorateAcknowledgements = { type DecorateAcknowledgementsWithTimeoutAndMultipleResponses (line 352) | type DecorateAcknowledgementsWithTimeoutAndMultipleResponses = { type DecorateAcknowledgementsWithMultipleResponses (line 358) | type DecorateAcknowledgementsWithMultipleResponses = { FILE: packages/socket.io/lib/uws.ts constant SEPARATOR (line 9) | const SEPARATOR = "\x1f"; function patchAdapter (line 13) | function patchAdapter(app /* : TemplatedApp */) { function subscribe (line 94) | function subscribe( function restoreAdapter (line 115) | function restoreAdapter() { function serveFile (line 127) | function serveFile(res /* : HttpResponse */, filepath: string) { FILE: packages/socket.io/test/close.ts function fixture (line 95) | function fixture(filename) { FILE: packages/socket.io/test/connection-state-recovery.ts function init (line 7) | async function init(httpServer: HttpServer, io: Server) { class DummyAdapter (line 223) | class DummyAdapter extends Adapter { method persistSession (line 224) | persistSession(session) { method restoreSession (line 228) | restoreSession(pid, offset) { FILE: packages/socket.io/test/messaging-many.ts function emit (line 43) | function emit() { function emit (line 79) | function emit() { FILE: packages/socket.io/test/namespaces.ts function close (line 162) | function close() { function getSockets (line 232) | async function getSockets() { function getSockets (line 270) | async function getSockets() { function getSockets (line 309) | async function getSockets() { FILE: packages/socket.io/test/socket.io.test-d.ts type Events (line 62) | enum Events { type BidirectionalEvents (line 136) | interface BidirectionalEvents { type ToEmit (line 181) | type ToEmit = ( type ToEmitWithAck (line 185) | type ToEmitWithAck< type ClientToServerEvents (line 189) | interface ClientToServerEvents { type ServerToClientEvents (line 199) | interface ServerToClientEvents { type ServerToClientEventsNoAck (line 216) | interface ServerToClientEventsNoAck { type ServerToClientEventsWithError (line 223) | interface ServerToClientEventsWithError { type ServerToClientEventsWithMultiple (line 239) | interface ServerToClientEventsWithMultiple { type ServerToClientEventsWithMultipleAndError (line 250) | interface ServerToClientEventsWithMultipleAndError { type ServerToClientEventsWithMultipleWithAck (line 265) | interface ServerToClientEventsWithMultipleWithAck { type ServerToClientEventsWithAck (line 270) | interface ServerToClientEventsWithAck { type ClientToServerEvents (line 567) | interface ClientToServerEvents { type ServerToClientEvents (line 572) | interface ServerToClientEvents { type InterServerEvents (line 577) | interface InterServerEvents { class MyCustomAdapter (line 653) | class MyCustomAdapter extends Adapter { method constructor (line 654) | constructor( FILE: packages/socket.io/test/socket.ts type Events (line 609) | type Events = { FILE: packages/socket.io/test/support/expectjs.d.ts type Assertion (line 4) | interface Assertion { type Root (line 158) | interface Root extends Assertion { type Be (line 166) | interface Be extends Assertion { type An (line 175) | interface An extends Assertion { type Not (line 187) | interface Not extends Expect.NotBase { type NotBase (line 191) | interface NotBase extends Assertion { type To (line 198) | interface To extends Expect.ToBase { type ToBase (line 202) | interface ToBase extends Assertion { type Only (line 209) | interface Only extends Assertion { type Have (line 213) | interface Have extends Assertion { FILE: packages/socket.io/test/support/util.ts function createClient (line 36) | function createClient< function success (line 48) | function success( function successFn (line 58) | function successFn( function assert (line 72) | function assert(condition: any): asserts condition { function getPort (line 76) | function getPort(io: Server): number { function createPartialDone (line 80) | function createPartialDone(count: number, done: (err?: Error) => void) { function waitFor (line 91) | function waitFor(emitter, event) { function eioHandshake (line 98) | function eioHandshake(httpServer): Promise { function eioPush (line 110) | function eioPush(httpServer, sid: string, body: string): Promise { function eioPoll (line 123) | function eioPoll(httpServer, sid): Promise { FILE: packages/socket.io/test/utility-methods.ts constant SOCKETS_COUNT (line 11) | const SOCKETS_COUNT = 3; class DummyAdapter (line 13) | class DummyAdapter extends Adapter { method fetchSockets (line 14) | fetchSockets(opts: BroadcastOptions): Promise {