* Called with data. * * @param {String} data * @protected
(data: RawData)
| 138 | * @protected |
| 139 | */ |
| 140 | protected onData(data: RawData) { |
| 141 | const packet = decodePacket(data, this.socket.binaryType); |
| 142 | this.onPacket(packet); |
| 143 | } |
| 144 | |
| 145 | /** |
| 146 | * Called with a decoded packet. |
nothing calls this directly
no test coverage detected