Websocket fragmenting in Axum #2024
-
Due to a restriction of the client I am building the server for, I need to be able to send fragmented binary messages down the websocket. As far as I can tell, I am unable to do this due to not having the ability to create my own frames. Is there another way of doing websocket fragmentation within Axum's websockets or a way to get the original tungstenite websocket where I'd be able to make my own frames? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Try using https://crates.io/crates/axum-tungstenite instead. That integrates directly with tungstenite and uses their types directly. So you can create your own frames. |
Beta Was this translation helpful? Give feedback.
Try using https://crates.io/crates/axum-tungstenite instead. That integrates directly with tungstenite and uses their types directly. So you can create your own frames.