aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/cpp/cpptutorial.md
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-08-28 14:24:44 -0700
committerGravatar yang-g <yangg@google.com>2015-08-28 14:24:44 -0700
commit92806a51ba419428c0e4a126e916860b0225c492 (patch)
treeec2bf54c316470db22dffea3d6a7c725e51cc0a1 /examples/cpp/cpptutorial.md
parentb00a3f689fef00f029589f52b3dda2272deb7914 (diff)
remove ChannelArguments ref and update doc
Diffstat (limited to 'examples/cpp/cpptutorial.md')
-rw-r--r--examples/cpp/cpptutorial.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cpp/cpptutorial.md b/examples/cpp/cpptutorial.md
index a23633d83c..c06233aa6b 100644
--- a/examples/cpp/cpptutorial.md
+++ b/examples/cpp/cpptutorial.md
@@ -242,10 +242,10 @@ In this section, we'll look at creating a C++ client for our `RouteGuide` servic
To call service methods, we first need to create a *stub*.
-First we need to create a gRPC *channel* for our stub, specifying the server address and port we want to connect to and any special channel arguments - in our case we'll use the default `ChannelArguments` and no SSL:
+First we need to create a gRPC *channel* for our stub, specifying the server address and port we want to connect to without SSL:
```cpp
-grpc::CreateChannel("localhost:50051", grpc::InsecureCredentials(), ChannelArguments());
+grpc::CreateChannel("localhost:50051", grpc::InsecureCredentials());
```
Now we can use the channel to create our stub using the `NewStub` method provided in the `RouteGuide` class we generated from our .proto.