Page MenuHomePhabricator

D5525.diff
No OneTemporary

D5525.diff

diff --git a/shared/protos/tunnelbroker.proto b/shared/protos/tunnelbroker.proto
--- a/shared/protos/tunnelbroker.proto
+++ b/shared/protos/tunnelbroker.proto
@@ -22,6 +22,8 @@
rpc Get(GetRequest) returns (stream GetResponse) {}
// Replacing Send and Get with a single bidirectional streaming RPC
+ // The client should provide the valid `sessionID` identifier
+ // from the `NewSession` in the stream request metadata
rpc MessagesStream(stream MessageToTunnelbroker) returns (stream MessageToClient) {}
}
@@ -105,11 +107,10 @@
}
message MessageToTunnelbroker {
- string sessionID = 1;
oneof data {
- MessagesToSend messagesToSend = 2;
- ProcessedMessages processedMessages = 3;
- string newNotifyToken = 4;
+ MessagesToSend messagesToSend = 1;
+ ProcessedMessages processedMessages = 2;
+ string newNotifyToken = 3;
}
}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 5:15 AM (19 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2560067
Default Alt Text
D5525.diff (871 B)

Event Timeline