Oh wow! So how does that work? I didn't think that browsers could deserialize binary formats like Protobuf
j
Johann Pardanaud
08/01/2023, 3:31 PM
Actually they can, even Google provides an official (an crappy) support of protobuf on browsers : https://www.npmjs.com/package/google-protobuf
Protobuf is just a binary format, you can deserialize it by reading the binary, and JS can do that!
What is not supported on browsers is gRPC, because browsers don't provide low-level APIs to handle HTTP2 requests/responses