(v?: number)
| 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. |