Open
Description
hi,thanks for your work!
i love this crate,it help me lot!
i find the ws server side can not receive text?i have check the source code.
because the trait Remote's function "fn receive(&self,process_data: impl FnMut(&[u8])) -> ReadStatus". u can check it on adapter.rs
i change the ws.rs, add some code for receive funciton.like this:
Message::Text(text) => {
drop(state);
process_data(text.as_bytes())
}
but this is bad way.
i know if change the trait Remote will make many change
do u have any good idea for ws support text?
Metadata
Assignees
Labels
No labels