(opcode)
| 17361 | if (type === opcodes.TEXT) { |
| 17362 | try { |
| 17363 | dataForEvent = utf8Decode(data); |
| 17364 | } catch (e) { |
| 17365 | failWebsocketConnection(ws, "Received invalid UTF-8 in text frame."); |
| 17366 | return; |
| 17367 | } |
| 17368 | } else if (type === opcodes.BINARY) { |
no test coverage detected