Last active
July 11, 2019 07:23
-
-
Save tocalai/8a4c02af4b5765a54dbb252cc9e342f5 to your computer and use it in GitHub Desktop.
IDL for service using Protocol Buffer
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"; // used version proto3 | |
package Demo.Message; // will be placed in a namespace matching the package name if csharp_namespace is not specified | |
option csharp_namespace = "Demo.Message"; | |
import "message.proto"; | |
// define alert service | |
service AlertService { | |
// method for sending alert | |
rpc SendAlert(AlertRequest) returns (AlertResponse); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment