From ca6e909df09131e9e73f7089f43cdd459d24fd7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Sat, 28 Nov 2020 02:35:20 +0100 Subject: add ping/pong to mumlib commands --- mumlib/src/command.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mumlib') diff --git a/mumlib/src/command.rs b/mumlib/src/command.rs index 8c54b20..73a065d 100644 --- a/mumlib/src/command.rs +++ b/mumlib/src/command.rs @@ -14,6 +14,7 @@ pub enum Command { MuteOther(String, Option), MuteSelf(Option), OutputVolumeSet(f32), + Ping, ServerConnect { host: String, port: u16, @@ -40,6 +41,7 @@ pub enum CommandResponse { MuteStatus { is_muted: bool, }, + Pong, ServerConnect { welcome_message: Option, }, -- cgit v1.2.1