blob: 40114d9dbf9c9861070a204cb3cfcc8f9b1389a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2022-2024 Gabriel Bjørnager Jensen.
use crate::net::SessionToken;
use bzipper::{Deserialise, FixedString, Serialise};
#[derive(Debug, Deserialise, Serialise)]
pub enum Request {
Ping,
Join { username: FixedString<0x10> },
Quit { token: SessionToken },
}
|