Skip to content

Commit 42e4214

Browse files
committed
doc(main): Updated documentation
1 parent 64c2c5d commit 42e4214

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,16 @@ grpcurl -plaintext -d '{"text":"hello"}' localhost:50051 example.ExampleService/
105105
- with `ExampleService/ExampleStreaming`:
106106

107107
```shell
108-
grpcurl -plaintext -d '{"text":"hello"}' localhost:50051 example.ExampleService/ExampleStreaming
108+
grpcurl -plaintext -d '@' localhost:50051 example.ExampleService/ExampleStreaming<<EOF
109+
{"text":"hello"}
110+
{"text":"world"}
111+
EOF
109112
{
110113
"text": "response from grpc-app: you sent hello"
111114
}
115+
{
116+
"text": "response from grpc-app: you sent world"
117+
}
112118
```
113119

114120
You can use any gRPC clients, for example [Postman](https://learning.postman.com/docs/sending-requests/grpc/grpc-request-interface/) or [Evans](https://github.com/ktr0731/evans).

0 commit comments

Comments
 (0)