Search code examples
xmppejabberdinstant-messagingagsxmpp

XMPP HTTP Binding


According to the wiki, XMPP could use HTTP in two ways: one is polling and other one is binding. This binding model of notification is more efficient than polling, where many of the polls return no new data.

Can anybody explain to me,

  • how it work and
  • how to use the http-bind url (http://jabber.org:5280/) when we developing the client application using agsXmpp library.

Solution

  • XEP-0206 and XEP-0124 specify Bidirectional-streams Over Synchronous HTTP (BOSH), which is the protocol for the binding approach. I don't think agsXmpp supports BOSH, but their newer version (Matrix) does, as well as Jabber-Net.