summaryrefslogtreecommitdiff
path: root/pkg/proto/websockets/v1beta/websockets.proto
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/proto/websockets/v1beta/websockets.proto')
-rw-r--r--pkg/proto/websockets/v1beta/websockets.proto8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/proto/websockets/v1beta/websockets.proto b/pkg/proto/websockets/v1beta/websockets.proto
index a61da93d..ede3cde9 100644
--- a/pkg/proto/websockets/v1beta/websockets.proto
+++ b/pkg/proto/websockets/v1beta/websockets.proto
@@ -10,6 +10,12 @@ message Message {
bytes payload = 4;
}
-message Messages {
+// RPC request with messages
+message Request {
repeated Message messages = 1;
}
+
+// RPC response (false in case of error)
+message Response {
+ bool ok = 1;
+}