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

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -