Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- syntax = "proto3"; // this is the declaration of the proto language syntax.
- // this model is for request
- message WelcomeRequest {
- string name = 1; // Here we are declaring the fields need to be transmitted in buffer.
- }
- // This model is for response.
- message WelcomeResponse {
- string message = 1; // Here we are declaring the fields need to be transmitted in buffer.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement