Skip to main content

Module interceptor

Module interceptor 

Source
Expand description

Server-side interceptor chain.

ServerInterceptor allows middleware-style hooks before and after each A2A method invocation, whatever the binding it arrived on, and one hook, on_complete, that sees how every call ended. ServerInterceptorChain manages an ordered list of interceptors and runs them sequentially.

Structs§

ServerInterceptorChain
An ordered chain of ServerInterceptor instances.

Enums§

CallOutcome
How a call ended, as ServerInterceptor::on_complete is told.

Traits§

ServerInterceptor
A server-side interceptor for request processing.