diff options
author | 2016-03-03 23:09:06 -0800 | |
---|---|---|
committer | 2016-04-29 08:19:44 -0700 | |
commit | 40f11aa5dc706892d1a5b848ac9f9d85a0cf12cd (patch) | |
tree | cfd4c3586988638025b311041ec3bc13405238d3 /src/objective-c/GRPCClient/private/GRPCChannel.h | |
parent | 5e6cc81842184386271e3429b9958477ad2899ba (diff) |
Objective-C: Add ChannelCredentials to gRPC Call.
GRPCHost now has a property channelCreds which is used when creating a GRPCChannel.
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannel.h')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCChannel.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannel.h b/src/objective-c/GRPCClient/private/GRPCChannel.h index 73bf8d95e7..70d1a9bd2f 100644 --- a/src/objective-c/GRPCClient/private/GRPCChannel.h +++ b/src/objective-c/GRPCClient/private/GRPCChannel.h @@ -56,18 +56,6 @@ struct grpc_channel_credentials; + (nullable GRPCChannel *)secureChannelWithHost:(nonnull NSString *)host; /** - * Creates a secure channel to the specified @c host using the specified @c pathToCertificates and - * @c channelArgs. Only in tests should @c pathToCertificates be nil or - * @c GRPC_SSL_TARGET_NAME_OVERRIDE_ARG channel arg be set. Passing nil for @c pathToCertificates - * results in using the default root certificates distributed with the library. If certificates - * could not be found in any case, then @c nil is returned. - */ -+ (nullable GRPCChannel *)secureChannelWithHost:(nonnull NSString *)host - pathToCertificates:(nullable NSString *)pathToCertificates - channelArgs:(nullable NSDictionary *)channelArgs; - - -/** * Creates a secure channel to the specified @c host using the specified @c credentials and * @c channelArgs. Only in tests should @c GRPC_SSL_TARGET_NAME_OVERRIDE_ARG channel arg be set. */ |