I’m using openfire as XMPP server. Clients connect to it via BOSH.
I’m writing some plugin with custom iq’s, and I need to get my clients’ http headers.
How can I do this using Openfire API?
I’m using openfire as XMPP server. Clients connect to it via BOSH. I’m writing
Share
I was digging this myself some time ago and found nothing, so I think the best solution is to wrap some user info that you want to get via headers into XMPP iq’s (User-Agent, Referrer, …).
To get visitor’s IP you can also use Openfire API (look at SessionManager class).