(data, hint)
| 92 | } |
| 93 | |
| 94 | function createFrame (data, hint) { |
| 95 | return new WebsocketFrameSend(toBuffer(data, hint)).createFrame(hint === sendHints.text ? opcodes.TEXT : opcodes.BINARY) |
| 96 | } |
| 97 | |
| 98 | function toBuffer (data, hint) { |
| 99 | switch (hint) { |
no test coverage detected
searching dependent graphs…