问题描述
有没有人写过一个使用WebSockets的开源XMPP库,并且打算由浏览器运行?
Has anyone written an open source XMPP library that uses WebSockets and is meant to be run by a browser?
推荐答案
我们还没有XMPP的标准,而不是服务器可以实现的,在客户方面得到充分解决之前需要这样做。
We don't yet have a standard for XMPP over WebSockets that the servers can implement, which will be required before the client side can be tackled adequately.
第一步是完成WebSocket标准化。看起来这可能发生在IETF HyBi工作组中,在撰写本文时尚未得到IESG的批准。几周前在广岛IETF会议上有一个HyBi鸟类羽毛(BoF)(参见),相当不错。
The first step is to finish WebSocket standardization. It looks like this may happen in an IETF HyBi working group, which at the time of writing has not yet been approved by the IESG. There was a HyBi Birds-of-a-Feather (BoF) at the Hiroshima IETF meeting a couple of weeks ago (see the meeting materials), which went pretty well.
在WebSockets有一个稳定的参考,并且似乎已经解决之后, 将创建一个将XMPP绑定到WebSockets,大概是每个WebSocket框架都有一个节。
After WebSockets has a stable reference, and seems to be settling down, the XSF will create a XEP that binds XMPP to WebSockets, presumably with a stanza per WebSocket frame.
编辑:Jack Moffitt编写了一个IETF ,第一次通过可以使用的协议。 警告即可。这仍然可能会发生巨大变化。如果您愿意稍后将其全部删除,请仅实施它。 警告。
Jack Moffitt has written an IETF Internet-Draft with a first pass at a protocol that can be used. WARNING. This is still likely to change drastically. Only implement it if you're willing to rip it out completely later. WARNING.
这篇关于是否有开源WebSockets(JavaScript)XMPP库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!