Files
tonic/tonic-health
Lucio Franco ff331199e4 feat(core): Default encoding/decoding limits (#1335)
* feat(core): Default encoding/decoding limits

This PR adds new defaults for both client and server max
encoding/decoding message size limits. By default, the max message
decoding size is `4MB` and the max message encoding size is
`usize::MAX`.

This is follow up work from https://github.com/hyperium/tonic/pull/1274

BREAKING: Default max message encoding/decoding limits

* update generated code
2023-03-30 16:59:08 +00:00
..

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 NamedService trait. You can use it like that:
    let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
    let client = HealthClient::new(conn);