|
GRPC Objective-C
1.26.0
|
The interface for gRPC global interceptor. More...
#import <GRPCCall+Interceptor.h>
Class Methods | |
| (void) | + registerGlobalInterceptor: |
| Register a global interceptor's factory in the current process. More... | |
| (nullable id< GRPCInterceptorFactory >) | + globalInterceptorFactory |
| Get the global interceptor's factory object. More... | |
The interface for gRPC global interceptor.
| + (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.