Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Rewrite #105

Merged
merged 19 commits into from
Nov 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed typo
MarcelCoding committed Oct 1, 2023
commit 6ee4a3c84ff58b65b2dde30b7f7fbac2e96bc0d9
4 changes: 2 additions & 2 deletions zia-common/src/ws/ws.rs
Original file line number Diff line number Diff line change
@@ -123,11 +123,11 @@ where

match frame.opcode {
OpCode::Continuation => Err(anyhow!("framed messages are not supported")),
OpCode::Text => Err(anyhow!("text framed are not supported")),
OpCode::Text => Err(anyhow!("text frames are not supported")),
OpCode::Binary => Ok(Event::Data(frame.data)),
OpCode::Close => Ok(parse_close_body(frame.data)?),
OpCode::Ping => Err(anyhow!("ping frames are not supported")),
OpCode::Pong => Err(anyhow!("pong framed are not supported")),
OpCode::Pong => Err(anyhow!("pong frames are not supported")),
}
}
}