aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/GRPCCall+Tests.h
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2016-07-28 23:05:18 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2016-07-28 23:05:18 -0700
commit6af4addd55a2a80768c63f0079b4c4ccf855bdda (patch)
treeade88a5212b89e89ebaa08ae53e6fca3dcfc8aa1 /src/objective-c/GRPCClient/GRPCCall+Tests.h
parenta062a7f2c58ad7477225086ce476cec05ee0255d (diff)
Let override default response size limit
Still missing: Catch the C-library error to improve the error message.
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall+Tests.h')
-rw-r--r--src/objective-c/GRPCClient/GRPCCall+Tests.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall+Tests.h b/src/objective-c/GRPCClient/GRPCCall+Tests.h
index ccc5723ec7..fe2c360477 100644
--- a/src/objective-c/GRPCClient/GRPCCall+Tests.h
+++ b/src/objective-c/GRPCClient/GRPCCall+Tests.h
@@ -57,4 +57,10 @@
* more than one invocation of the methods of this category.
*/
+ (void)useInsecureConnectionsForHost:(NSString *)host;
+
+/**
+ * Resets all host configurations to their default values, and flushes all connections from the
+ * cache.
+ */
++ (void)clearAllConfigurationsForTesting;
@end