grpc / grpc-web

gRPC for Web Clients
https://grpc.io
Apache License 2.0
8.56k stars 762 forks source link

[Feature] Websocket implementation with multiplexing #1209

Open borissmidt opened 2 years ago

borissmidt commented 2 years ago

Dear,

I have made a proof of concept to make an grpc-web work over a websocket where i mirrored the channel implementation of the java grpc-api. The protocol over the websocket is defined in protobuf and contains metadata for each package like the stream id.

The main advantages of this implementation is:

I was wondering if you are interested in this feature, I think it could be ported to the envoy proxy. (c++ is a long time ago for me). Working proof of concept