trinopoty / socket.io-server-java

Socket.IO Server Library for Java
Other
183 stars 51 forks source link

Backward compatibility of v4 #41

Open manikmagar opened 2 years ago

manikmagar commented 2 years ago

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

trinopoty commented 2 years ago

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.

manikmagar commented 2 years ago

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.