I find the websockets make development more difficult. I send an event and then have to listen for a matching OK event? With a http request I send and get a response.

That isn't to say one couldn't make a relay with a HTTP api, however. At least primal.net dev is trying.

Reply to this note

Please Login to reply.

Discussion

I am working on a protocol which will combine both RPC and PubSub model (in mutexed way). It will work either as a binary TCP protocol - or can be bridged via combination of HTTP and WebSocket connection.