-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REST gateway over RPCS? #789
Comments
Hi @vaishalig2693. This isn't really an issue so I will try to answer your question and then close it and redirect you to the channels we recommend in the issue template. It's possible to expose both gRPC and REST on the same server, or even the same port. See https://coreos.com/blog/grpc-protobufs-swagger.html for an example. I'm not sure exactly what you're asking though. Can you direct your further questions to the |
As I said, I can't run a grpc server as it is over http2 protocol and my existing clients using http1.1 protocol will fail |
I've successfully used cmux to put both HTTP/2 + gRPC frontend and an HTTP/1.1 frontend on the same port. |
I have some existing rpc clients which communicate over http1.1. Thus I cannot update my server to grpc server but still want to provide REST support to new clients. Is there a way to achieve it without moving to grpcs? If there is any other workaround possible without changing the clients, that will also be helpful.
The text was updated successfully, but these errors were encountered: