socket.io-server-java icon indicating copy to clipboard operation
socket.io-server-java copied to clipboard

Backward compatibility of v4

Open manikmagar opened this issue 3 years ago • 2 comments
trafficstars

This comment refers to v4 being compatible with all previous versions.

With that comment, I am testing upgrade of server library from 1.0.3 to 4.0.1. I use postman socket.io client for testing. Socket IO v2 requests that works with 1.0.3, are not working with 4.0.1. The connection request just hangs up and events are not received on server.

Is v4 backward compatible for previous socket.io versions?

image

manikmagar avatar Oct 19 '22 23:10 manikmagar

Hi, v2 of the client library should work with v4 of the server library. can you tell me the exact version of client library you're using, I will check if there's a bug.

trinopoty avatar Oct 23 '22 18:10 trinopoty

Hi, I am testing with postman's socketio client and using v2. See this document for socket.io client version - https://learning.postman.com/docs/sending-requests/websocket/websocket/#configuring-request-settings. I am not sure what library Postman is using under the hood, I am going to guess it is a javascript client.

manikmagar avatar Oct 26 '22 02:10 manikmagar