The gulp task test will always transpile the source code into es5 and export to dist first before running the test. Set the environmental variable TEST_VERSION to compat to test the transpiled es5-compat version of the code. By default the test will be run with the source code in lib directory. To see the output from all of Socket.IO's debugging scopes you can use: DEBUG=socket.io* node myapp In order to see all the debug output, run your app with the environment variable Contributions are welcome! Debug / logging The source code of the website can be found here. Binary supportĪny serializable data structures can be emitted, including: Those timers require any subsequent client calls to be directed to the same server, hence the sticky-session requirement when using multiples nodes. That functionality is achieved with timers set on both the server and the client, with timeout values (the pingInterval and pingTimeout parameters) shared during the connection handshake. Disconnection detectionĪ heartbeat mechanism is implemented at the Engine.IO level, allowing both the server and the client to know when the other one is not responding anymore. Please see the available reconnection options here. Unless instructed otherwise a disconnected client will try to reconnect forever, until the server is available again. Please see the Goals section for more information.
0 Comments
Leave a Reply. |