♻️ Refactor websocket client id
This commit is contained in:
@@ -20,13 +20,13 @@ message CountConnectionResponse {
|
||||
|
||||
message PushStreamRequest {
|
||||
optional uint64 user_id = 1;
|
||||
optional uint64 client_id = 2;
|
||||
optional string client_id = 2;
|
||||
bytes body = 3;
|
||||
}
|
||||
|
||||
message PushStreamBatchRequest {
|
||||
repeated uint64 user_id = 1;
|
||||
repeated uint64 client_id = 2;
|
||||
repeated string client_id = 2;
|
||||
bytes body = 3;
|
||||
}
|
||||
|
||||
@@ -34,13 +34,13 @@ message PushStreamResponse {
|
||||
bool is_all_success = 1;
|
||||
int64 affected_count = 2;
|
||||
int64 failed_count = 3;
|
||||
repeated uint64 success_list = 4;
|
||||
repeated string success_list = 4;
|
||||
}
|
||||
|
||||
message StreamEventRequest {
|
||||
string event = 1;
|
||||
uint64 user_id = 2;
|
||||
uint64 client_id = 3;
|
||||
string client_id = 3;
|
||||
bytes payload = 4;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user