Respond to malformed WS packets

This commit is contained in:
heikkari
2021-08-16 13:40:52 +03:00
parent 7e84d2671a
commit c1d03960ed
2 changed files with 15 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ pub enum WebSocketError {
InvalidSession,
OnboardingNotFinished,
AlreadyAuthenticated,
MalformedData { msg: String },
}
#[derive(Deserialize, Debug)]