#import <GRPCCall+Interceptor.h>
Class Methods | |
(nullable id< GRPCInterceptorFactory >) | + globalInterceptorFactory |
(void) | + registerGlobalInterceptor: |
The interface for gRPC global interceptor.
Definition at line 30 of file GRPCCall+Interceptor.h.
+ (nullable id<GRPCInterceptorFactory>) globalInterceptorFactory |
Get the global interceptor's factory object.
Extends class GRPCCall2.
+ (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.
[in] | interceptorFactory | The factory object that generates the global interceptor for each call. |
Extends class GRPCCall2.