diff options
| author | Fuwn <[email protected]> | 2021-03-28 15:12:32 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-03-28 15:12:32 +0000 |
| commit | c08d9a34680032f2477307d2ca346220df00ea5d (patch) | |
| tree | da92aebcdc34266f26bd904d4544bf5bd4b46b11 /src/server/mod.rs | |
| parent | Feature: Parse property set command (diff) | |
| download | whirl-c08d9a34680032f2477307d2ca346220df00ea5d.tar.xz whirl-c08d9a34680032f2477307d2ca346220df00ea5d.zip | |
fix: Implement parser
Fixes the problem that sometimes, commands are just skipped despite being sent from the client.
Diffstat (limited to 'src/server/mod.rs')
| -rw-r--r-- | src/server/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/mod.rs b/src/server/mod.rs index 3698d84..a6341a2 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -4,8 +4,9 @@ use bytes::BytesMut; pub mod auto; mod cmd; pub mod room; -mod shared; +mod parser; mod peer; +mod shared; type Tx = mpsc::UnboundedSender<BytesMut>; type Rx = mpsc::UnboundedReceiver<BytesMut>; |