Refine peer networking and chunked file transfers

This commit is contained in:
ddidderr
2025-11-11 20:56:03 +01:00
parent 3600b3ba6f
commit 936111e3c6
6 changed files with 748 additions and 188 deletions
+9 -1
View File
@@ -6,8 +6,16 @@ use serde::{Deserialize, Serialize};
pub enum Request {
Ping,
ListGames,
GetGame { id: String },
GetGame {
id: String,
},
GetGameFileData(GameFileDescription),
GetGameFileChunk {
game_id: String,
relative_path: String,
offset: u64,
length: u64,
},
Invalid(Bytes, String),
}