Refine peer networking and chunked file transfers
This commit is contained in:
@@ -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),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user