|
|
@ -24,9 +24,9 @@ NS_ASSUME_NONNULL_BEGIN |
|
|
|
@interface GRPCSecureChannelFactory : NSObject<GRPCChannelFactory> |
|
|
|
@interface GRPCSecureChannelFactory : NSObject<GRPCChannelFactory> |
|
|
|
|
|
|
|
|
|
|
|
+ (nullable instancetype)factoryWithPEMRootCertificates:(nullable NSString *)rootCerts |
|
|
|
+ (nullable instancetype)factoryWithPEMRootCertificates:(nullable NSString *)rootCerts |
|
|
|
privateKey:(nullable NSString *)privateKey |
|
|
|
privateKey:(nullable NSString *)privateKey |
|
|
|
certChain:(nullable NSString *)certChain |
|
|
|
certChain:(nullable NSString *)certChain |
|
|
|
error:(NSError **)errorPtr; |
|
|
|
error:(NSError **)errorPtr; |
|
|
|
|
|
|
|
|
|
|
|
- (nullable grpc_channel *)createChannelWithHost:(NSString *)host |
|
|
|
- (nullable grpc_channel *)createChannelWithHost:(NSString *)host |
|
|
|
channelArgs:(nullable NSDictionary *)args; |
|
|
|
channelArgs:(nullable NSDictionary *)args; |
|
|
|