aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannel.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-20 09:41:34 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-20 09:41:34 -0700
commit836640dc4a9e8d62fc0e1218e81076a06a3035a9 (patch)
tree46e5e9a67c3cf2664e3c25a72aa71f326acb1c7d /src/objective-c/GRPCClient/private/GRPCChannel.h
parent4186405287a6944e7b1eb59dcae5524ea2db674d (diff)
Mark GRPCChannel:new: unavailable
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannel.h')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannel.h b/src/objective-c/GRPCClient/private/GRPCChannel.h
index 5f5fae0413..5fb18e0332 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannel.h
+++ b/src/objective-c/GRPCClient/private/GRPCChannel.h
@@ -32,6 +32,8 @@ struct grpc_channel_credentials;
- (nullable instancetype)init NS_UNAVAILABLE;
++ (nullable instancetype)new NS_UNAVAILABLE;
+
/**
* Returns a channel connecting to \a host with options as \a callOptions. The channel may be new
* or a cached channel that is already connected.