Class Methods | List of all members
GRPCCall2(Interceptor) Category Reference

#import <GRPCCall+Interceptor.h>

Class Methods

(nullable id< GRPCInterceptorFactory >) + globalInterceptorFactory
 
(void) + registerGlobalInterceptor:
 

Detailed Description

The interface for gRPC global interceptor.

See also
GRPCInterceptor

Definition at line 30 of file GRPCCall+Interceptor.h.

Method Documentation

◆ globalInterceptorFactory

+ (nullable id<GRPCInterceptorFactory>) globalInterceptorFactory

Get the global interceptor's factory object.

Extends class GRPCCall2.

◆ registerGlobalInterceptor:

+ (void) registerGlobalInterceptor: (nonnull id< GRPCInterceptorFactory >)  interceptorFactory

Register a global interceptor's factory in the current process. Only one interceptor can be registered in a process. If another one attempts to be registered, an exception will be raised.

Parameters
[in]interceptorFactoryThe factory object that generates the global interceptor for each call.

Extends class GRPCCall2.


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


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