Difference between revisions of "Socket.io-client"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 16: Line 16:
 
   socket.io-parser decoded 4{"message":"[[No auth token]]"} as {"type":4,"nsp":"/","data":{"message":"[[No auth token]]"}} +732ms
 
   socket.io-parser decoded 4{"message":"[[No auth token]]"} as {"type":4,"nsp":"/","data":{"message":"[[No auth token]]"}} +732ms
  
[[wscat]]
+
== Related ==
 +
* <code>[[wscat]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 08:17, 14 March 2023

npm install socket.io-client


As explained in the "What Socket.IO is not" section, the Socket.IO client is not a WebSocket implementation and thus will not be able to establish a connection with a WebSocket server, even with transports: ["websocket"]


  engine.io-client:socket creating transport "polling" +0ms


 socket.io-parser decoded 4{"message":"No auth token"} as {"type":4,"nsp":"/","data":{"message":"No auth token"}} +732ms

Related

See also

Advertising: