MCPcopy Index your code
hub / github.com/socketio/socket.io / connectTimeout

Method connectTimeout

lib/index.ts:366–370  ·  view source on GitHub ↗
(v?: number)

Source from the content-addressed store, hash-verified

364 public connectTimeout(): number;
365 public connectTimeout(v?: number): this | number;
366 public connectTimeout(v?: number): this | number {
367 if (v === undefined) return this._connectTimeout;
368 this._connectTimeout = v;
369 return this;
370 }
371
372 /**
373 * Sets the adapter for rooms.

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected