I have a working Python code that send/receive messages by websocket. I had copied the message (prepared to be sending):
“x00x00Uxaax00x00x00x00x00x00x00nx00x00x00xxefx80nx14x90xdc2Qm9xc0xd0gTDxd9x9f%xfa «wxbdxecxf2xec`xf9x84x8cVFLx16xa6Kxd8xe2xbf$x8bxd5Pxa3xbbx0cxe6xaaxd5xd6x81Fx96xfdxc7Ex88x9bxdf(x87.x1dx00Ex9a%4XTxa0xf9dxafnxd2xe3xc6x86x02xbcx19V=xd8x8a[xf7xdbxbdNx1axbexee/xc7x10xa3xf3x02x016x13g}t=xdaxdc~xa9xd0x91xc9x0ex93x00x00xaaU”
Now I try to send it from javascript. How I can send it? Cause it’s string, but I need to send as raw bytes.



