Home
last modified time | relevance | path

Searched refs:interceptor (Results 1 – 11 of 11) sorted by relevance

/tonic/tonic/src/service/
H A Dmod.rs3 pub mod interceptor; module
9 pub use self::interceptor::{Interceptor, InterceptorLayer};
H A Dinterceptor.rs60 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 Dcodegen.rs14 pub use crate::service::interceptor::InterceptedService;
/tonic/tonic-health/src/generated/
H A Dgrpc_health_v1.rs90 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 Dgrpc_reflection_v1.rs179 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 Dgrpc_reflection_v1alpha.rs179 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 DCargo.toml131 name = "interceptor-client"
132 path = "src/interceptor/client.rs"
135 name = "interceptor-server"
136 path = "src/interceptor/server.rs"
H A Drouteguide-tutorial.md557 for example, add an [interceptor][authentication-example] to process requests before they reach our…
/tonic/tonic-build/src/
H A Dclient.rs85 … 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 Dserver.rs137 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 DCHANGELOG.md277 * 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…