Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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