Lines Matching +full:localhost +full:- +full:test +full:- +full:linux
11 > to grpc-tools repository as a stand alone application once it is mature
13 > user-friendliness. Other tools in the ecosystem, for example,
20 - Send unary rpc.
21 - Attach metadata and display received metadata.
22 - Handle common authentication to server.
23 - Infer request/response types from server reflection result.
24 - Find the request/response types from a given proto file.
25 - Read proto request in text form.
26 - Read request in wire form (for protobuf messages, this means serialized
28 - Display proto response in text form.
29 - Write response in wire form to a file.
33 - List server services and methods through server reflection.
34 - Fine-grained auth control (such as, use this oauth token to talk to the
36 - Send streaming rpc.
48 git submodule update --init
54 $ mkdir -p cmake/build
56 $ cmake -DgRPC_BUILD_TESTS=ON ../..
61 https://github.com/grpc/grpc/blob/master/test/cpp/util/grpc_cli.cc
67 [Java](https://github.com/grpc/grpc-java/blob/master/documentation/server-reflection-tutorial.md#en…
71 [Go](https://github.com/grpc/grpc-go/blob/master/Documentation/server-reflection-tutorial.md)
74 [below](#Call-a-remote-method).
82 - List all the services exposed at a given port
85 $ grpc_cli ls localhost:50051
95 The `localhost:50051` part indicates the server you are connecting to.
97 - List one service with details
101 format when `-l` flag is set. This flag can be used to get more details
105 $ grpc_cli ls localhost:50051 helloworld.Greeter -l
123 - List one method with details
129 $ grpc_cli ls localhost:50051 helloworld.Greeter.SayHello -l
145 - Get information about the request type
148 $ grpc_cli type localhost:50051 helloworld.HelloRequest
165 - Call a unary method Send a rpc to a helloworld server at `localhost:50051`:
168 $ grpc_cli call localhost:50051 SayHello "name: 'gRPC CLI'"
177 - Use local proto files
184 $ grpc_cli call localhost:50051 SayHello "name: 'world'" \
185 --protofiles=examples/protos/helloworld.proto
189 `--proto_path` to specify new search roots (separated by colon on
190 Mac/Linux/Cygwin or semicolon on Windows).
194 `--noremotedb` to avoid attempting to use the reflection service.
196 - Send non-proto rpc
203 $ grpc_cli call localhost:50051 /helloworld.Greeter/SayHello \
204 --input_binary_file=input.bin \
205 --output_binary_file=output.bin