Skip to content
Snippets Groups Projects
Commit 66e79fa3 authored by Tim Emiola's avatar Tim Emiola
Browse files

Cleans up helloworld.proto

parent e9be47ea
No related branches found
No related tags found
No related merge requests found
......@@ -33,19 +33,18 @@ option java_package = "ex.grpc";
package helloworld;
// The greeting service definition.
service Greetings {
// Sends a greeting
rpc hello (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.
message HelloRequest {
optional string name = 1;
string name = 1;
}
// The response message containing the greetings
message HelloReply {
optional string message = 1;
}
// The greeting service definition.
service Greetings {
// Sends a greeting
rpc hello (HelloRequest) returns (HelloReply) {
}
string message = 1;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment