Skip to content
Snippets Groups Projects
Commit 77723b12 authored by Jorge Canizales's avatar Jorge Canizales
Browse files

Document that grpc_channel_args don’t need to survive GRPCSecureChannel init

parent 8c5318a6
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,7 @@ struct grpc_credentials; ...@@ -46,6 +46,7 @@ struct grpc_credentials;
pathToCertificates:(NSString *)path pathToCertificates:(NSString *)path
hostNameOverride:(NSString *)hostNameOverride; hostNameOverride:(NSString *)hostNameOverride;
// The passed arguments aren't required to be valid beyond the invocation of this initializer.
- (instancetype)initWithHost:(NSString *)host - (instancetype)initWithHost:(NSString *)host
credentials:(struct grpc_credentials *)credentials credentials:(struct grpc_credentials *)credentials
args:(grpc_channel_args *)args NS_DESIGNATED_INITIALIZER; args:(grpc_channel_args *)args NS_DESIGNATED_INITIALIZER;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment