summaryrefslogtreecommitdiffstats
path: root/src/client/view.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/view.rs')
-rw-r--r--src/client/view.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/view.rs b/src/client/view.rs
index 9443726..d2ccadb 100644
--- a/src/client/view.rs
+++ b/src/client/view.rs
@@ -274,6 +274,10 @@ pub enum View {
274pub enum Command { 274pub enum Command {
275 /// The credential is already hashed by the frontend. 275 /// The credential is already hashed by the frontend.
276 Login { user: String, credential: String }, 276 Login { user: String, credential: String },
277 Games,
278 Ping,
279 Echo(String),
280 Info,
277 Register { user: String, credential: String }, 281 Register { user: String, credential: String },
278 Play { game: String, bet: Option<u64> }, 282 Play { game: String, bet: Option<u64> },
279 History { limit: u32 }, 283 History { limit: u32 },