chore(examples): Remove relative path from reading data (#1220)
chore(examples): Remove unnecessary asyncronous file io to read data for example (#1219)
feat: Add TryFrom implementations for MetadataValue (#990)Co-authored-by: Adam Chalmers <[email protected]>
chore: clippy lints (#467)* chore: clippy lints
fix(transport): Propagate errors in tls_config instead of unwrap/panic (#385)* Propagate errors in tls_config instead of unwrap Ran into `tls_connector` failing and causing our app to panic and
fix(transport): Propagate errors in tls_config instead of unwrap/panic (#385)* Propagate errors in tls_config instead of unwrap Ran into `tls_connector` failing and causing our app to panic and shutdown as it seems there wasn't any way to avoid panicking in `tls_config`. So after talking to @LucioFranco briefly `tls_config` now returns a `Result` instead and propagates errors to the caller, where they can be handled. * Fix compile warning when tls feature is disabled
show more ...
feat: Add gRPC interceptors (#232)This change introduces proper gRPC interceptors that are avilable regardless of the transport used. Each codegen service now produces an additional method called
feat: Add gRPC interceptors (#232)This change introduces proper gRPC interceptors that are avilable regardless of the transport used. Each codegen service now produces an additional method called `with_interceptor` that accepts a `Interceptor`. All examples have been updated to use this new style and interop has a custom `tower::Service` middleware to echo the headers. There is also a new `interceptor` example that shows basic usage. BREAKING CHANGE: removed `interceptor_fn` and `intercep_headers_fn` from `transport` in favor of using `tonic::Interceptor`.
chore(docs): Fix examples link (#202)* url is just examples, not tonic-examples * Change root directory from tonic-examples to examples. Matches current directory structure.
fix(transport): Remove with_rustls for tls config (#188)
chore: Reorganize examples and interop crates (#180)* chore: Reorganize examples and interop crates * fix interop tests