DEV Community

Discussion on: How to make realtime APIs with NodeJS and ReactJS using Socket.io

Collapse
 
karan171996 profile image
Karan

I thought in new version of socket.io we do not need to define the transport layer to be polling I guess, please correct me If I m wrong, because I saw the query params have the transport polling by default.

Collapse
 
omardiaa48 profile image
Omar Diaaeldine Elwakeel

you can set it from the client to match the server, or change what the server is waiting for which is the default, I need to investigate the major differences between them, but I couldn't find much difference.