Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some space in the rpc code example, for standarization #72

Merged
merged 1 commit into from
Jan 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/docs/guides/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ gRPC lets you define four kinds of service method:
single response back, just like a normal function call.

```proto
rpc SayHello(HelloRequest) returns (HelloResponse){
rpc SayHello(HelloRequest) returns (HelloResponse) {
}
```

Expand All @@ -55,7 +55,7 @@ rpc SayHello(HelloRequest) returns (HelloResponse){
ordering within an individual RPC call.

```proto
rpc LotsOfReplies(HelloRequest) returns (stream HelloResponse){
rpc LotsOfReplies(HelloRequest) returns (stream HelloResponse) {
}
```

Expand All @@ -79,7 +79,7 @@ rpc LotsOfGreetings(stream HelloRequest) returns (HelloResponse) {
stream is preserved.

```proto
rpc BidiHello(stream HelloRequest) returns (stream HelloResponse){
rpc BidiHello(stream HelloRequest) returns (stream HelloResponse) {
}
```

Expand Down