Replying to Avatar Melvin Carvalho

Seems some dont realize that nostr relays are powered by http. The first call to a relay is an http request which is then "upgraded" to a websocket (connection). Given that it's http, it just works, can get through a firewall, where most p2p fails. Many dont realize this, in fact, fiatjaf didnt even realize this, until I explained it to him. The http part is what gives nostr a chance of working where p2p inevitablly fails.

Avatar
Sebastix 1y ago

I had the same discovery when I was working on the Http/Guzzle client in PHP previous week 🧐

Reply to this note

Please Login to reply.

Discussion

Avatar
Sebastix 1y ago

https://github.com/valtzu/guzzle-websocket-middleware

Thread collapsed