sendPacket

fun WebSocket.sendPacket(packet: ByteReadPacket)
inline fun WebSocket.sendPacket(block: BytePacketBuilder.() -> Unit)
inline fun XMLHttpRequest.sendPacket(block: BytePacketBuilder.() -> Unit)
fun XMLHttpRequest.sendPacket(packet: ByteReadPacket)