-
debacle
Are there use cases or situations in which BOSH is better than websockets?
-
Guus
dealing with legacy software that doesn't support both, maybe (unsure if that actually exists much in the wild anymore)
-
Menel
Wasn't bosh kinder to reconnects?
-
Guus
Does XEP-0045 describe how a service should react when an entity triest to interact with a room or an occupant that doesn't exist?
-
Guus
(outside of room creation, and service discovery)
-
Guus
oh, section 17 (business rules) has some specifications on that.
-
singpolyma
> Are there use cases or situations in which BOSH is better than websockets? Proxies that don't support websocket maybe, though with TLS everywhere this is barely possible anymore. Switching pages/tabs and keeping the connection, but these days you can also do that with a shared worker. ↺
-
MattJ
There is an unsolved edge case - resumption for ANONYMOUS sessions. BOSH can resume (via sid/rid) but websockets does not have that, and XEP-0198 doesn't work with ANONYMOUS
-
Schimon
> If you put pubsub on a MUC it's not PEP by definition, but doing similar things makes a lot of sense. Kev. What do you mean by "similar things"? ↺
-
Schimon
Good evening, ladies and gentlemen. I was thinking of making use of XEP-0223 (Persistent Storage of Private Data via PubSub) to make use of a Jabber ID as a mean to synchronize browser tabs, cookies and other session data.
-
Schimon
What would be an appropriate fashion to store such information?✎ -
Schimon
What would be an appropriate fashion to store such information? Should Atom Over XMPP be utilized (XEP-0277 and XEP-0472) or something more simple (e.g. TOML, CSV or INI) ✏
-
singpolyma
You can use any format that fits your data 🙂
-
singpolyma
Try it and see how it goes
-
moparisthebest
> There is an unsolved edge case - resumption for ANONYMOUS sessions. BOSH can resume (via sid/rid) but websockets does not have that, and XEP-0198 doesn't work with ANONYMOUS The successor to websockets based on quic, https://w3c.github.io/webtransport/ , supports resumption and hopping across networks like quic, and XMPP already works over it (it's a stream like TLS/quic, not frames like websocket) ↺
-
singpolyma
I wouldn't call it a successor since it's not the same kind of protocol. It's a better fit for xmpp than websocket was for sure though