creating structs, enums, figuring out networking rules

This commit is contained in:
maxstrb 2025-10-04 23:03:19 +02:00
parent 6836cbf72e
commit 07f8985f19
4 changed files with 72 additions and 2 deletions

14
src/shared_enums.rs Normal file
View file

@ -0,0 +1,14 @@
pub enum ContentType {
Text(TextType),
Aplication(ApplicationType),
}
pub enum TextType {
Html,
Css,
Javascript,
}
pub enum ApplicationType {
Json,
}