Skip to content

Commit b3fea33

Browse files
authored
send binary message to specific address (#222)
* send binary message to specific address * update naming & update branch * update address to be an array * use only peerData
1 parent cbbf46c commit b3fea33

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

proto/decentraland/kernel/apis/communications_controller.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ message RealSendRequest {
88
message RealSendResponse {}
99

1010
message SendBinaryRequest {
11+
repeated bytes data = 1; // @deprecated old broadcasted messages. Use peerData with an empty array for broadcasting.
12+
repeated PeerMessageData peer_data = 2; // peer-to-peer messages
13+
}
14+
15+
message PeerMessageData {
1116
repeated bytes data = 1;
17+
repeated string address = 2; // if address is empty, its a broadcast message
1218
}
1319

1420
message SendBinaryResponse {

0 commit comments

Comments
 (0)