I'm playing around with websockets and I noticed that when my server sends a message to the client, there is an extra '[]' character in front of the message. This is preventing JS from parsing the json properly.
Any idea what this character is???
I'm playing around with websockets and I noticed that when my server sends a message to the client, there is an extra '[]' character in front of the message. This is preventing JS from parsing the json properly.
Any idea what this character is???
In addition to an HTTP-like handshake between client and server, each message from starts with '\x0' and ends with '\xff'.
In future drafts of the WebSockets protocol (beyond 03/76), the framing delimiters have been replaced by framing which includes a leading length and no trailing special character.