MCPcopy
hub / github.com/socketio/socket.io / connectTimeout

Method connectTimeout

packages/socket.io/lib/index.ts:436–440  ·  view source on GitHub ↗
(v?: number)

Source from the content-addressed store, hash-verified

434 public connectTimeout(): number;
435 public connectTimeout(v?: number): this | number;
436 public connectTimeout(v?: number): this | number {
437 if (v === undefined) return this._connectTimeout;
438 this._connectTimeout = v;
439 return this;
440 }
441
442 /**
443 * Sets the adapter for rooms.

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected