9f716d8411
* feat(codec): add max_message_size parameter resolves #1097 * refactor(client): add max size parameters * refactor(tonic-build): update server gen template * refactor(tonic-build): update client template * fix(tonic-build): update client template * fix(tonic-build): small typo in server.rs * fix(tonic-build): client.rs generator * fix(tonic): add apply max message setting size to server * fix(test): wrong message size * fix: doctest + generated rs
tonic-health
A tonic based gRPC healthcheck implementation. It closely follows the official health checking protocol, although it may not implement all features described in the specs.
Please follow the example in the main repo to see how it works.
Features
- transport: Provides the ability to set the service by using the type system and the
NamedServicetrait. You can use it like that:
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
let client = HealthClient::new(conn);