Command line socket.io fake

After you set up the failer complex socket.io + node.js configuration, how could you conduct some tests without using a browser? You know, is it possible to create node.js clients that use socket.io to communicate with the master server of node.js? (the one that browsers talk to). Of course, the logic in the browser will be copied to these clients, but still ...

+6
source share
1 answer

Now there is an official socket.io-client from LearnBoost

npm -g install socket.io-client

I also did some tests using phantomjs browser without browser

+3
source

Source: https://habr.com/ru/post/888147/


All Articles