Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3359988
D5525.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
871 B
Referenced Files
None
Subscribers
None
D5525.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 11:49 AM (3 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2579545
Default Alt Text
D5525.id.diff (871 B)
Attached To
Mode
D5525: [services] Tunnelbroker - Removing of 'sessionID' from 'MessageToTunnelbroker'
Attached
Detach File
Event Timeline
Log In to Comment