Skip to content

Commit

Permalink
Update helloworld.proto
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster committed Jan 25, 2024
1 parent e3a496a commit 61304bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/src/main/proto/helloworld.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply) {}

// Starts a Bi-di stream of PingPong messages
rpc PingPong (stream Ping) returns (stream Pong) {}
}

Expand All @@ -38,10 +39,12 @@ message HelloReply {
string message = 1;
}

// A ping request message containing the message
message Ping {
string message = 1;
}

// A pong response message containing a response message
message Pong {
string message = 1;
}

0 comments on commit 61304bc

Please sign in to comment.