Skip to content

Commit

Permalink
Document that methods in GRPCCall+Tests can only be called once per host
Browse files Browse the repository at this point in the history
  • Loading branch information
jcanizales committed Aug 6, 2015
1 parent b2bd067 commit 55fcf50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/objective-c/GRPCClient/GRPCCall+Tests.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,16 @@

// Establish all SSL connections to the provided host using the passed SSL target name and the root
// certificates found in the file at |certsPath|.
// Must be called before any gRPC call to that host is made.
//
// Must be called before any gRPC call to that host is made. It's illegal to pass the same host to
// more than one invocation of the methods of this category.
+ (void)useTestCertsPath:(NSString *)certsPath
testName:(NSString *)testName
forHost:(NSString *)host;

// Establish all connections to the provided host using cleartext instead of SSL.
//
// Must be called before any gRPC call to that host is made. It's illegal to pass the same host to
// more than one invocation of the methods of this category.
+ (void)useInsecureConnectionsForHost:(NSString *)host;
@end

0 comments on commit 55fcf50

Please sign in to comment.