|
Revision tags: v0.12.3, v0.12.2, v0.12.1, v0.12.0, v0.11.0, v0.10.2, v0.10.1, v0.10.0, v0.9.2, v0.9.1, v0.9.0, v0.8.4, v0.8.3, v0.8.2, v0.8.1, v0.8.0, v0.7.2, v0.7.1, v0.7.0, v0.6.2, v0.6.1, v0.6.0, v0.5.2, v0.5.1 |
|
| #
4e578b50 |
| 09-Aug-2021 |
David Pedersen <[email protected]> |
doc(tonic): add more interceptor examples (#736)
Some have asked how to use the new `Interceptor` trait to create named
interceptors. This updates the client example to show how to do that.
|
|
Revision tags: v0.5.0, v0.4.3, v0.4.2, v0.4.1, v0.4.0, v0.3.1, v0.3.0, v0.2.1, v0.2.0, v0.1.1, v0.1.0 |
|
| #
eba7ec7b |
| 14-Jan-2020 |
Lucio Franco <[email protected]> |
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`.
show more ...
|