interceptor_hook_server
Module: firma::interceptor::v1::interceptor_hook_server
Section titled “Module: firma::interceptor::v1::interceptor_hook_server”Contents
Section titled “Contents”Structs
InterceptorHookServer- InterceptorHook is the agent-facing gRPC service exposed by the Sidecar.
Traits
InterceptorHook- Generated trait containing gRPC methods that should be implemented for use with InterceptorHookServer.
Constants
SERVICE_NAME- Generated gRPC service name
firma_grpc_interceptor_proto::firma::interceptor::v1::interceptor_hook_server::InterceptorHook
Section titled “firma_grpc_interceptor_proto::firma::interceptor::v1::interceptor_hook_server::InterceptorHook”Trait
Generated trait containing gRPC methods that should be implemented for use with InterceptorHookServer.
Methods:
intercept
firma_grpc_interceptor_proto::firma::interceptor::v1::interceptor_hook_server::InterceptorHookServer
Section titled “firma_grpc_interceptor_proto::firma::interceptor::v1::interceptor_hook_server::InterceptorHookServer”Struct
InterceptorHook is the agent-facing gRPC service exposed by the Sidecar. The agent calls Intercept for every outbound action; the Sidecar feeds the request into the enforcement pipeline and returns the result.
Generic Parameters:
- T
Methods:
fn new(inner: T) -> Selffn from_arc(inner: Arc<T>) -> Selffn with_interceptor<F>(inner: T, interceptor: F) -> InterceptedService<Self, F>fn accept_compressed(self: Self, encoding: CompressionEncoding) -> Self- Enable decompressing requests with the given encoding.fn send_compressed(self: Self, encoding: CompressionEncoding) -> Self- Compress responses with the given encoding, if the client supports it.fn max_decoding_message_size(self: Self, limit: usize) -> Self- Limits the maximum size of a decoded message.fn max_encoding_message_size(self: Self, limit: usize) -> Self- Limits the maximum size of an encoded message.
Traits: NamedService
Trait Implementations:
- Clone
fn clone(self: &Self) -> Self
- Service
fn poll_ready(self: & mut Self, _cx: & mut Context) -> Poll<std::result::Result<(), <Self as >::Error>>fn call(self: & mut Self, req: http::Request<B>) -> <Self as >::Future
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
firma_grpc_interceptor_proto::firma::interceptor::v1::interceptor_hook_server::SERVICE_NAME
Section titled “firma_grpc_interceptor_proto::firma::interceptor::v1::interceptor_hook_server::SERVICE_NAME”Constant: &str
Generated gRPC service name