4 ms·
I don't have experience with xmpp protocol but how is it better than an http or soap for example?
by notyourwork 9y ago
I don't have experience with xmpp protocol but how is it better than an http or soap for example?
- icebraining 9y agoHTTP and SOAP are generic, XMPP provides semantics for specific chat/IM related concepts like users, presence, user-to-user messages, etc.
- SamWhited 9y agoXMPP Core is a protocol at (roughly) the same level as HTTP: it provides basic semantics for sending and getting data, and you can build your own application level protocols on top of it. XMPP IM is an application level protocol built on top of it that does something specific (instant messaging). It could have been built on HTTP as well, but they were designed to work well together. If we're comparing XMPP core to HTTP, the difference is that XMPP core is async and stateful (like instant messaging sessions) and HTTP is synchronous and stateless (great for fetching documents).