mirror of https://github.com/waku-org/js-waku.git
22 lines
319 B
Protocol Buffer
22 lines
319 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package waku.v2;
|
||
|
|
||
|
import "waku/v2/message.proto";
|
||
|
|
||
|
message PushRequest {
|
||
|
string pubsub_topic = 1;
|
||
|
WakuMessage message = 2;
|
||
|
}
|
||
|
|
||
|
message PushResponse {
|
||
|
bool is_success = 1;
|
||
|
string info = 2;
|
||
|
}
|
||
|
|
||
|
message PushRPC {
|
||
|
string request_id = 1;
|
||
|
PushRequest request = 2;
|
||
|
PushResponse response = 3;
|
||
|
}
|