I'm trying to create an XMPP HTTP gateway in nodejs using node-xmpp-client and adastra.re as an xmpp server. I've never worked with xmpp before and I'm having trouble configuring the client.
var client = new XMPP.Client({ jid: ???, password: '***', host: "https://adastra.re/" bosh: ???? })
What exactly are jid and bosh? I initially thought that jid was an email of the client you want to log in as and your password would be your password for the email. But that appears to not be the case. And I've been having trouble understanding what bosh is too. Any help would be appreciated.