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

Method reconnectionAttempts

packages/socket.io-client/lib/manager.ts:220–224  ·  view source on GitHub ↗
(v?: number)

Source from the content-addressed store, hash-verified

218 public reconnectionAttempts(): number;
219 public reconnectionAttempts(v?: number): this | number;
220 public reconnectionAttempts(v?: number): this | number {
221 if (v === undefined) return this._reconnectionAttempts;
222 this._reconnectionAttempts = v;
223 return this;
224 }
225
226 /**
227 * Sets the delay between reconnections.

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected