What is Nostr?
buttercat1791 / Michael J
npub1wqf…qsyn
2025-01-25 14:35:32
in reply to nevent1q…wcmg

buttercat1791 on Nostr: WebSocket is firmly established as the communication protocol for Nostr, at this ...

WebSocket is firmly established as the communication protocol for Nostr, at this point, and to break from that entirely would be to break compatibility with the larger network.

That said, I don't see a problem with relays offering different transport options for the same events. If every relay offers WebSocket, some may additionally offer protocol extensions to alternately use WebTransport or HTTP, for instance.

A client should be able to connect to any relay using WebSocket, but specialized relays offering additional communication protocol options may have a place.
Author Public Key
npub1wqfzz2p880wq0tumuae9lfwyhs8uz35xd0kr34zrvrwyh3kvrzuskcqsyn