v1
Module: firma::interceptor::v1
Section titled “Module: firma::interceptor::v1”Contents
Section titled “Contents”Modules
interceptor_hook_client- Generated client implementations.interceptor_hook_server- Generated server implementations.
Structs
InterceptRequest- InterceptRequest carries the raw outbound request the agent intends to make.InterceptResponse- InterceptResponse carries the acknowledgment that the request was received
firma_grpc_interceptor_proto::firma::interceptor::v1::InterceptRequest
Section titled “firma_grpc_interceptor_proto::firma::interceptor::v1::InterceptRequest”Struct
InterceptRequest carries the raw outbound request the agent intends to make.
Fields:
method: ::prost::alloc::string::String- HTTP method verb (e.g. GET, POST, DELETE).host: ::prost::alloc::string::String- Target host or domain (e.g. api.stripe.com).path: ::prost::alloc::string::String- Request path including any query string (e.g. /v1/charges).headers: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>- HTTP headers as key-value pairs.body: ::prost::alloc::vec::Vec<u8>- Optional request body as raw bytes.is_https: bool- Whether the original request uses HTTPS.session_id: ::prost::alloc::string::String- Optional session identifier for capability scoping.
Trait Implementations:
- Debug
fn fmt(self: &Self, f: & mut ::core::fmt::Formatter) -> ::core::fmt::Result
- Clone
fn clone(self: &Self) -> InterceptRequest
- Default
fn default() -> Self
- Message
fn encoded_len(self: &Self) -> usizefn clear(self: & mut Self)
- PartialEq
fn eq(self: &Self, other: &InterceptRequest) -> bool
firma_grpc_interceptor_proto::firma::interceptor::v1::InterceptResponse
Section titled “firma_grpc_interceptor_proto::firma::interceptor::v1::InterceptResponse”Struct
InterceptResponse carries the acknowledgment that the request was received by the enforcement pipeline.
Fields:
allowed: bool- Whether the request was accepted into the pipeline.reason: ::prost::alloc::string::String- Human-readable reason when allowed is false.
Traits: Eq
Trait Implementations:
- Hash
fn hash<__H>(self: &Self, state: & mut __H)
- PartialEq
fn eq(self: &Self, other: &InterceptResponse) -> bool
- Debug
fn fmt(self: &Self, f: & mut ::core::fmt::Formatter) -> ::core::fmt::Result
- Default
fn default() -> Self
- Clone
fn clone(self: &Self) -> InterceptResponse
- Message
fn encoded_len(self: &Self) -> usizefn clear(self: & mut Self)
Module: interceptor_hook_client
Section titled “Module: interceptor_hook_client”Generated client implementations.
Module: interceptor_hook_server
Section titled “Module: interceptor_hook_server”Generated server implementations.