summaryrefslogtreecommitdiff
path: root/pkg/proto/websockets/v1beta/websockets.proto
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-09 20:26:18 +0300
committerGitHub <[email protected]>2021-06-09 20:26:18 +0300
commitb99bfbe21a0f44b1a16b9110d779719fc637127c (patch)
tree3aabdb96c86a59325d816ad64cabc967ef2c8f10 /pkg/proto/websockets/v1beta/websockets.proto
parent8fdf05d4f360a9f6344141b273eab9d6859470e0 (diff)
parent7665167623147403d575b7e2cf125073cbe6584d (diff)
#715 feat(protocol): use protobuf for the `kv` and `websockets` RPC callsv2.3.0-beta.3
#715 feat(protocol): use protobuf for the `kv` and `websockets` RPC calls
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;
+}