简体   繁体   中英

node js for XMPP protocol?

I want to develop an instant messaging for mobile application, like whatsapp , with nodejs as my backend. I have gone through XMPP protocols and read xmpp.org documentation as well.

I referred to this link and I am able to build some of the basic XMPP functionality like creating and messaging users. But I am still unable to implement the complete functionality of XMPP in nodejs .

So: are there any node js libaries available to build the complete functionality of xmpp protocol, such as asmack ? Alternatively, how do I send calls to XMPP server via XML ?

XMPP is the standard for messaging. But it is not clear how Node will help you better than an established library on another platform. Node does make it a breeze to do scalable web socket apps, which work a lot better using JSON instead of XML though. So perhaps what you want to do is build a web socket IM application in Node and also implement an XMPP interface.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM