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
Hybrid server with axum+tonic #22
Comments
You need to pass a All
|
I think it is a good idea to add |
Let me know if this helps. |
Absolutely, this works like a charm! Thanks so much (and indeed, good idea to add this example, should probably end up in this repo?) |
Hey, I am implementing the same http+grpc , and I can see the example has been deleted , can I get it from anywhere ? Thank you |
@itsyaasir I removed it because it wasn't up to date. I will write a new example for the new api and let you know when its done. |
Thank you , I appreciate that |
@itsyaasir Let me know if this example works for you. |
Absolutely, it worked, I got the general idea of the implementation. Thank you |
I am trying to build a hybrid HTTP + gRPC server using Axum and Tonic following this example. I am struggling a bit however on how to combine this with axum-server to have both over TLS:
The issue seems to be that axum_server requires a 'Service' whereas the regular 'bind' accepts some sort of 'IntoService' (and the
hybrid
function, as well as grpc_service, create this). Any ideas?The text was updated successfully, but these errors were encountered: