Hacker News new | ask | show | jobs
by shukantpal 1271 days ago
I'm curious, what other protocols do you have in mind?
2 comments

WebSocket has a lot less fluff, but you could as well use a raw TCP socket and send JSON payloads over it with your own "protocol", e.g. with an op attribute for the action and an error attribute in responses. Another protocol that comes to mind is Apache Thrift.
Grpc + protobufs?
Lol, GRPC uses HTTP as its transport :'). Try again.