Socket.IO文档 [英] Socket.IO documentation
本文介绍了Socket.IO文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
它的网站只有一个很差的wiki,没有完整的文档说明连接,发出,要求等等。
解决方案
请参阅
- http://socket.io/docs/#how-to-use
- https://github.com/socketio/socket.io
-
https://github.com/LearnBoost/socket.io/wiki/Exposed-events ,以了解服务器/客户端事件
据我所知,没有API文档存在,而不必自行检查代码
require
是节点的一部分,而不是socket.io。请参阅节点文档:模块,同样适用于发出
Is there any documentation about Socket.IO? Its website just has a poor wiki and there is no full documentation explaining connect, emit, require and so on
解决方案
See
- http://socket.io/docs/#how-to-use
- https://github.com/socketio/socket.io
https://github.com/LearnBoost/socket.io/wiki/Exposed-events for a description of server/client-side events
As far as I know, no API documentation exists without inspecting the code on your own.
require
is a part of node, not socket.io. See node docs: modules, the same applies for emit
这篇关于Socket.IO文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文