Add example of handling a required argument

More from:

    https://github.com/twitchtv/twirp/wiki/Best-Practices
This commit is contained in:
sm
2018-01-20 09:02:10 -08:00
parent 9ccfd44724
commit 7c35411a0a
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -9,9 +9,9 @@ service HelloWorld {
}
message HelloReq {
string subject = 1;
string subject = 1; // required
}
message HelloResp {
string text = 1;
string text = 1; // required
}