开发者

Faking socket.io connection from command line

Once you have in place a failry complex socket.io + node.js setup, how could you make some tests without using the browser? Do you know if is it possible to create node.js clients that use socket.io to communicate with the "ma开发者_开发百科ster" node.js server? (the one to which are talking to the browsers). Of course, the logic in the browser would be copied in those clients, but still...


There is now the official socket.io-client by LearnBoost

npm -g install socket.io-client

I also made some tests using the phantomjs headless browser

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜