Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 26, 2020 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/bbabd8c23f18d1da0c480339de226eb7 to your computer and use it in GitHub Desktop.
Save velotiotech/bbabd8c23f18d1da0c480339de226eb7 to your computer and use it in GitHub Desktop.
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