Created
June 26, 2020 12:18
-
-
Save velotiotech/28d88d9bbf29c86e0f548cb73eeaa965 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 unary; | |
service Unary{ | |
// A simple RPC. | |
// | |
// Obtains the MessageResponse at a given position. | |
rpc GetServerResponse(Message) returns (MessageResponse) {} | |
} | |
message Message{ | |
string message = 1; | |
} | |
message MessageResponse{ | |
string message = 1; | |
bool received = 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment