Commit Graph
2 Commits
Author SHA1 Message Date
Koki KatoandGitHub e7be352132 transport: impl Service for Channel instead of GrpcService (#482)
* transport: impl Service for Channel instead of GrpcService

This adds tower::Service impl for tonic::transport::Channel
and removes GrpcService impl declaration.

Channel still implements GrpcService, thanks to the general
impl declaration of GrpcService for types who implement Service.

Fixes #481.

* examples: stop using GrpcService to avoid ambiguity

* examples: add timeout example
2021-01-05 13:36:18 -05:00
Koki KatoandLucio Franco 0f5059a5ee chore(tutorials): Add another .await after client connect call (#112) 2019-11-02 12:15:45 -04:00