TooTallNate / proxy-agents

Node.js HTTP Proxy Agents Monorepo
https://proxy-agents.n8.io
872 stars 229 forks source link

Request: add grpc protocol support #228

Open sbussard opened 11 months ago

sbussard commented 11 months ago

Please add grpc protocol support, to make it possible for code-server to implement a proxy for it

sbussard commented 11 months ago

https://github.com/coder/code-server/issues/6345

TooTallNate commented 11 months ago

I'm not really sure how gRPC is related to proxies. Can you elaborate?

sbussard commented 11 months ago

Thanks for your prompt reply.

I forgot it's actually just http2 but it uses grpc:// so that threw me off in the moment. There was previously an issue for http2 support, but I'm not sure if it was addressed or not https://github.com/TooTallNate/proxy-agents/issues/107.

Background if interested: https://en.wikipedia.org/wiki/GRPC https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md