From 82f308303428f932d35710c8fac2c6eeb1a59143 Mon Sep 17 00:00:00 2001 From: Yuchen Zeng Date: Tue, 13 Sep 2016 14:24:25 -0700 Subject: Address review comments --- doc/server_reflection_tutorial.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'doc/server_reflection_tutorial.md') diff --git a/doc/server_reflection_tutorial.md b/doc/server_reflection_tutorial.md index 2b8f5ea8f6..ecb176723c 100644 --- a/doc/server_reflection_tutorial.md +++ b/doc/server_reflection_tutorial.md @@ -48,8 +48,12 @@ example server with Server Reflection enabled. ```sh make grpc_cli + cd bins/opt ``` + gRPC CLI binary `grpc_cli` can be found at `bins/opt/` folder. This tool is + still new and does not have a `make install` target yet. + ### List services `grpc_cli ls` command lists services and methods exposed at a given port @@ -57,7 +61,7 @@ example server with Server Reflection enabled. - List all the services exposed at a given port ```sh - $ bins/opt/grpc_cli ls localhost:50051 + $ grpc_cli ls localhost:50051 ``` output: @@ -74,7 +78,7 @@ example server with Server Reflection enabled. service. ```sh - $ bins/opt/grpc_cli ls localhost:50051 helloworld.Greeter -l + $ grpc_cli ls localhost:50051 helloworld.Greeter -l ``` output: @@ -95,7 +99,7 @@ example server with Server Reflection enabled. format of \.\.\). ```sh - $ bins/opt/grpc_cli ls localhost:50051 helloworld.Greeter.SayHello -l + $ grpc_cli ls localhost:50051 helloworld.Greeter.SayHello -l ``` output: @@ -111,7 +115,7 @@ full name of the type (in the format of \.\). - Get information about the request type ```sh - $ bins/opt/grpc_cli type localhost:50051 helloworld.HelloRequest + $ grpc_cli type localhost:50051 helloworld.HelloRequest ``` output: @@ -128,7 +132,7 @@ We can send RPCs to a server and get responses using `grpc_cli call` command. - Call a unary method ```sh - $ bins/opt/grpc_cli call localhost:50051 SayHello "name: 'gRPC CLI'" + $ grpc_cli call localhost:50051 SayHello "name: 'gRPC CLI'" ``` output: -- cgit v1.2.3