* Called when connection is deemed open. * * @private
()
| 578 | * @private |
| 579 | */ |
| 580 | protected onOpen() { |
| 581 | debug("socket open"); |
| 582 | this.readyState = "open"; |
| 583 | SocketWithoutUpgrade.priorWebsocketSuccess = |
| 584 | "websocket" === this.transport.name; |
| 585 | this.emitReserved("open"); |
| 586 | this.flush(); |
| 587 | } |
| 588 | |
| 589 | /** |
| 590 | * Handles a packet. |
no test coverage detected