Created
June 26, 2020 12:14
-
-
Save velotiotech/bbabd8c23f18d1da0c480339de226eb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
package bidirectional; | |
service Bidirectional { | |
// A Bidirectional streaming RPC. | |
// | |
// Accepts a stream of Message sent while a route is being traversed, | |
rpc GetServerResponse(stream Message) returns (stream Message) {} | |
} | |
message Message { | |
string message = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment