()
| 987 | private _upgrades: string[] = []; |
| 988 | |
| 989 | override onOpen() { |
| 990 | super.onOpen(); |
| 991 | |
| 992 | if ("open" === this.readyState && this.opts.upgrade) { |
| 993 | debug("starting upgrade probes"); |
| 994 | for (let i = 0; i < this._upgrades.length; i++) { |
| 995 | this._probe(this._upgrades[i]); |
| 996 | } |
| 997 | } |
| 998 | } |
| 999 | |
| 1000 | /** |
| 1001 | * Probes a transport. |
no test coverage detected