socket.io-server-java
socket.io-server-java copied to clipboard
No able to see in the network tab
Hi @trinopoty We are broad casting a message but internally we are seeing that backslashes, escape characters, \n are being added is there a way to prevent it as we are seeing this error in network tab
Hi, what error are you getting? Is the message not delivered as sent?
The message is delivered but backslashes are appended i will give you some example Now:
42["s46","{\n "type": "MESSAGE",\n "channel": {\n "id": 122806,\n "name": "sS\084446",\n ]: expected: 42["s22",{"type":"MESSAGE","channel":{"id":1652,"name":"sSELCN1655938322"]
This is happening automatically getting added
That is expected since the json data is serialized into string for transfer to the server. Are you receiving those extra slashes on your server messages?