interceptor_hook_client
Module: firma::interceptor::v1::interceptor_hook_client
Section titled “Module: firma::interceptor::v1::interceptor_hook_client”Contents
Section titled “Contents”Structs
InterceptorHookClient- InterceptorHook is the agent-facing gRPC service exposed by the Sidecar.
firma_grpc_interceptor_proto::firma::interceptor::v1::interceptor_hook_client::InterceptorHookClient
Section titled “firma_grpc_interceptor_proto::firma::interceptor::v1::interceptor_hook_client::InterceptorHookClient”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 with_origin(inner: T, origin: Uri) -> Selffn with_interceptor<F>(inner: T, interceptor: F) -> InterceptorHookClient<InterceptedService<T, F>>fn send_compressed(self: Self, encoding: CompressionEncoding) -> Self- Compress requests with the given encoding.fn accept_compressed(self: Self, encoding: CompressionEncoding) -> Self- Enable decompressing responses.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.fn intercept<impl tonic::IntoRequest<super::InterceptRequest>>(self: & mut Self, request: impl Trait) -> std::result::Result<tonic::Response<super::InterceptResponse>, tonic::Status>fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>- Attempt to create a new client by connecting to a given endpoint.
Trait Implementations:
- Clone
fn clone(self: &Self) -> InterceptorHookClient<T>
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result