Skip to main content

Module interceptor

Module interceptor 

Source

Structs§

RpcRequestId
Request extension key used by request_id_interceptor to propagate an existing request id from the current task into tonic metadata.

Constants§

REQUEST_ID_METADATA
Metadata key propagated by rs-zero RPC clients.

Functions§

deadline_interceptor
Builds an interceptor that adds grpc-timeout metadata when missing.
request_id_interceptor
Builds an interceptor that adds a request id when missing.
resilience_rejection_status
Maps a resilience rejection into a tonic unavailable status.
rpc_resilience_key
Builds a stable resilience key for RPC adapters.
trace_context_interceptor
Builds an interceptor that injects the current traceparent when available.
with_rpc_request_id
Runs a future with an RPC request id propagation context.