node.js - trouble with configuring client using node-xmpp-client -
i'm trying create xmpp http gateway in nodejs using node-xmpp-client , adastra.re xmpp server. i've never worked xmpp before , i'm having trouble configuring client.
var client = new xmpp.client({ jid: ???, password: '***', host: "https://adastra.re/" bosh: ???? })
what jid , bosh? thought jid email of client want log in , password password email. appears not case. , i've been having trouble understanding bosh too. appreciated.
xmpp server not understand http protocol. bosh work mediator between your http request , xmpp server. jid user id registered in xmpp server. example xmpp server adastre.re , mahesh@adastre.re.
i hope helps.
Comments
Post a Comment