Searched refs:interceptor (Results 1 – 11 of 11) sorted by relevance
| /tonic/tonic/src/service/ |
| H A D | mod.rs | 3 pub mod interceptor; module 9 pub use self::interceptor::{Interceptor, InterceptorLayer};
|
| H A D | interceptor.rs | 60 interceptor: I, field 67 pub fn new(interceptor: I) -> Self { in new() 68 Self { interceptor } in new() 79 InterceptedService::new(service, self.interceptor.clone()) in layer() 89 interceptor: I, field 95 pub fn new(service: S, interceptor: I) -> Self { in new() 98 interceptor, in new() 142 .interceptor in call()
|
| /tonic/tonic/src/ |
| H A D | codegen.rs | 14 pub use crate::service::interceptor::InterceptedService;
|
| /tonic/tonic-health/src/generated/ |
| H A D | grpc_health_v1.rs | 90 interceptor: F, in with_interceptor() 105 HealthClient::new(InterceptedService::new(inner, interceptor)) in with_interceptor() 276 interceptor: F, in with_interceptor() 281 InterceptedService::new(Self::new(inner), interceptor) in with_interceptor()
|
| /tonic/tonic-reflection/src/generated/ |
| H A D | grpc_reflection_v1.rs | 179 interceptor: F, in with_interceptor() 194 ServerReflectionClient::new(InterceptedService::new(inner, interceptor)) in with_interceptor() 317 interceptor: F, in with_interceptor() 322 InterceptedService::new(Self::new(inner), interceptor) in with_interceptor()
|
| H A D | grpc_reflection_v1alpha.rs | 179 interceptor: F, in with_interceptor() 194 ServerReflectionClient::new(InterceptedService::new(inner, interceptor)) in with_interceptor() 317 interceptor: F, in with_interceptor() 322 InterceptedService::new(Self::new(inner), interceptor) in with_interceptor()
|
| /tonic/examples/ |
| H A D | Cargo.toml | 131 name = "interceptor-client" 132 path = "src/interceptor/client.rs" 135 name = "interceptor-server" 136 path = "src/interceptor/server.rs"
|
| H A D | routeguide-tutorial.md | 557 for example, add an [interceptor][authentication-example] to process requests before they reach our…
|
| /tonic/tonic-build/src/ |
| H A D | client.rs | 85 … pub fn with_interceptor<F>(inner: T, interceptor: F) -> #service_ident<InterceptedService<T, F>> in generate_internal() 95 #service_ident::new(InterceptedService::new(inner, interceptor)) in generate_internal()
|
| H A D | server.rs | 137 pub fn with_interceptor<F>(inner: T, interceptor: F) -> InterceptedService<Self, F> in generate_internal() 141 InterceptedService::new(Self::new(inner), interceptor) in generate_internal()
|
| /tonic/ |
| H A D | CHANGELOG.md | 277 * Handle interceptor errors as responses ([#840](https://github.com/hyperium/tonic/issues/840)) ([#… 281 * **tonic:** Preserve HTTP method in interceptor ([#912](https://github.com/hyperium/tonic/issues/9… 376 * **tonic:** don't remove reserved headers in interceptor ([#701](https://github.com/hyperium/tonic…
|