File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/bitdrift_public/protobuf/client/v1 Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,11 @@ message HandshakeRequest {
69
69
70
70
// At the time of the handshake, whether the client is operating in sleep mode.
71
71
bool sleep_mode = 7 ;
72
+
73
+ // Opaque client state previously provided by the server in a HandshakeResponse. The client
74
+ // should continue to send this on every handshake request until the server provides a new
75
+ // value (which may be empty to clear existing state).
76
+ optional bytes opaque_client_state = 8 ;
72
77
}
73
78
74
79
// Notifies the server about the intent to upload one or more batches of logs. The client is expected (but
@@ -333,6 +338,11 @@ message HandshakeResponse {
333
338
// 0x1: Runtime is up to date and no further update message will be supplied.
334
339
// 0x2: Configuration is up to date and no further update message will be supplied.
335
340
uint32 configuration_update_status = 2 ;
341
+
342
+ // Opaque client state that should be echoed back to the server on every future handshake
343
+ // request. If unset, the client should continue to send any existing opaque state, or none
344
+ // if it has none. Sending an explicit empty value will clear any existing state.
345
+ optional bytes opaque_client_state_to_echo = 3 ;
336
346
}
337
347
338
348
// A general indication of rate limiting from server to client.
You can’t perform that action at this time.
0 commit comments