Socket.IO文档

扫码查看
本文介绍了Socket.IO文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有关于Socket.IO的文档?
它的网站只有一个很差的wiki,没有完整的文档说明连接,发出,要求等等。

解决方案

请参阅









据我所知,没有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

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文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-14 21:29
查看更多