Support text frame
Opened this issue · 2 comments
mtsmfm commented
Hi, thank you for providing awesome library.
I noticed this package only supports binary frames.
SimpleWebTransport/source/Common/SendLoop.cs
Line 163 in edd7633
Do you have any plan to support text frames?
James-Frowen commented
I dont plan on adding it because this is mostly designed for game data in bytes.
It should be possible to encode the text as bytes in order to send it.
mtsmfm commented
Thank you for giving your thought.
What I'm trying to do with this library is that to connect a API server which accepts only WebSocket text frames and the server is not developed by me.
If both a server and a client developed by single team we can avoid using text frames but in such a case there's no choice.