logos-delivery-js/src/proto/light_push.proto
Franck Royer 82aba32f9e
Migrate from ts-proto to protons
The latter does not bring Buffer/Long and is ESM compatible.
2022-06-20 14:32:20 +10:00

20 lines
312 B
Protocol Buffer

syntax = "proto3";
import "message.proto";
message PushRequest {
string pub_sub_topic = 1;
WakuMessage message = 2;
}
message PushResponse {
bool is_success = 1;
string info = 2;
}
message PushRPC {
string request_id = 1;
optional PushRequest request = 2;
optional PushResponse response = 3;
}