-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
document what the server's ServeHTTP is missing compared to the Serve method #2662
Comments
There are a number of differences; too many to document in the godoc comment. Here are the ones I can think of right now:
In addition, it is not a feature actively maintained by the grpc-go team; I would avoid using it. |
@dfawley is there any other way of sharing the same port (such as 443 for https) between gRPC and an existing http.Handler? I would like to follow your advice of avoid using it, mainly if it's a feature actively maintained by the grpc-go team. Thanks |
You could use something like cmux for server-side port sharing. This will delegate the whole |
https://godoc.org/google.golang.org/grpc#Server.ServeHTTP
What precisely are the differences?
The text was updated successfully, but these errors were encountered: