3 ms·
The underlying data is binary (protobufs), though. It would defeat the purpose to re-encode it as text to send over SSE. Also, IIRC gRPC supports full-duplex,
by paulgb 4y ago
The underlying data is binary (protobufs), though. It would defeat the purpose to re-encode it as text to send over SSE.
Also, IIRC gRPC supports full-duplex, which SSE does not.
WebSockets may have been a better fit, as the Chromium developers hinted on the WontFix issue linked in the post.
- raggi 4y agoIn the next web, https://web.dev/webtransport/ https://web.dev/webtransport/ would be the thing to move to. It's a bit nicer under the hood than websockets, though it's also brand new. My comment was less about a full duplex replacement though, and more "how to get something equivalent to trailers, that works in browsers today", and this would enable that.