mirror of
https://github.com/Xevion/dynamic-preauth.git
synced 2025-12-15 00:11:34 -06:00
Setup executable JSON ws message
This commit is contained in:
@@ -169,4 +169,12 @@ pub enum OutgoingMessage {
|
||||
TokenAlert { token: u64 },
|
||||
// A message describing the current session state
|
||||
State { session: Session },
|
||||
Executables { executables: Vec<ExecutableJson> },
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
pub struct ExecutableJson {
|
||||
pub id: String,
|
||||
pub size: usize,
|
||||
pub filename: String,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user