|
|
@ -112,10 +112,11 @@ static NSString * const kBearerPrefix = @"Bearer "; |
|
|
|
|
|
|
|
|
|
|
|
@synthesize state = _state; |
|
|
|
@synthesize state = _state; |
|
|
|
|
|
|
|
|
|
|
|
// TODO(jcanizales): If grpc_init is idempotent, this should be changed from load to initialize. |
|
|
|
+ (void)initialize { |
|
|
|
+ (void)load { |
|
|
|
if (self == [GRPCCall self]) { |
|
|
|
grpc_init(); |
|
|
|
grpc_init(); |
|
|
|
callFlags = [NSMutableDictionary dictionary]; |
|
|
|
callFlags = [NSMutableDictionary dictionary]; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
+ (void)setCallSafety:(GRPCCallSafety)callSafety host:(NSString *)host path:(NSString *)path { |
|
|
|
+ (void)setCallSafety:(GRPCCallSafety)callSafety host:(NSString *)host path:(NSString *)path { |
|
|
|