Public Member Functions | List of all members
grpc::experimental::Interceptor Class Referenceabstract

#include <interceptor.h>

Inheritance diagram for grpc::experimental::Interceptor:
Inheritance graph
[legend]

Public Member Functions

virtual void Intercept (InterceptorBatchMethods *methods)=0
 
virtual ~Interceptor ()
 

Detailed Description

Interface for an interceptor. Interceptor authors must create a class that derives from this parent class.

Definition at line 221 of file impl/codegen/interceptor.h.

Constructor & Destructor Documentation

◆ ~Interceptor()

virtual grpc::experimental::Interceptor::~Interceptor ( )
inlinevirtual

Definition at line 223 of file impl/codegen/interceptor.h.

Member Function Documentation

◆ Intercept()

virtual void grpc::experimental::Interceptor::Intercept ( InterceptorBatchMethods methods)
pure virtual

The one public method of an Interceptor interface. Override this to trigger the desired actions at the hook points described above.

Implemented in grpc::experimental::OrcaServerInterceptor, PhonyInterceptor, grpc::testing::MetadataAndStatusLoggerInterceptor, grpc::testing::TestInterceptor, grpc::testing::AdditionalMetadataInterceptor, and grpc::testing::PhonyInterceptor.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:32