File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ message WorkerMessage {
6363 MigrateJobRequest migrate_job = 7 ;
6464
6565 TextMessageResponse text_response = 8 ;
66- UpdateSessionData update_session_data = 9 ;
66+ PushTextRequest push_text = 9 ;
6767 };
6868}
6969
@@ -78,7 +78,7 @@ message ServerMessage {
7878 JobTermination termination = 5 ;
7979 WorkerPong pong = 4 ;
8080
81- TextMessageRequest text_request = 9 ;
81+ TextMessageRequest text_request = 6 ;
8282 }
8383}
8484
@@ -196,14 +196,17 @@ message TextMessageRequest {
196196 string text = 6 ;
197197}
198198
199- message UpdateSessionData {
200- string session_id = 1 ;
201- bytes session_data = 2 ;
202- int64 timestamp = 3 ;
199+
200+ message PushTextRequest {
201+ // The message_id of the TextMessageRequest that this push is for
202+ string message_id = 1 ;
203+ string content = 2 ;
203204}
204205
206+
205207message TextMessageResponse {
208+ // Indicate the request is completed
206209 string message_id = 1 ;
207- string response = 2 ;
210+ bytes session_data = 2 ;
208211 string error = 3 ;
209212}
You can’t perform that action at this time.
0 commit comments