Allow server to be created from TCP listener and TLS acceptor
Open
- Dominant language
- Rust
- Stars
- 12.5k
- Forks
- 1.3k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 24
Description
## Feature Request
### Crates
tonic
### Motivation
I presently use tonic as a tower service with axum_server and steer in front of it to steer requests for grpc or grpc_web, using a custom tcp listener and tls acceptor.
### Proposal
It would be great if the tonic server could take a tls acceptor (I think it already does this), and also a tcp listener (for custom things like proxy protocol or e2e tests using a custom listener) and also support grpc and grpc-web being served by the same server.
### Alternatives
using axum_server to serve tonic services.
Contributor guide
Assessment
This issue has not been assessed yet.