summaryrefslogtreecommitdiff
path: root/proto/websockets/v1beta/websockets.proto
blob: 5be6f70fc0cf62baa6c8188b0e5251fe99fc0011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
syntax = "proto3";

package websockets.v1beta;
option go_package = "./;websocketsv1beta";

message Message {
    string command = 1;
    repeated string topics = 2;
    bytes payload = 3;
}

// RPC request with messages
message Request {
    repeated Message messages = 1;
}

// RPC response (false in case of error)
message Response {
    bool ok = 1;
}