mirror of
https://github.com/defold/extension-websocket.git
synced 2025-09-30 09:12:18 +02:00
Issue 11: Added support for both binary and text frames
This commit is contained in:
@@ -66,6 +66,12 @@ namespace dmWebsocket
|
||||
MESSAGE_TYPE_CLOSE = 1,
|
||||
};
|
||||
|
||||
enum DataType
|
||||
{
|
||||
DATA_TYPE_BINARY = 0,
|
||||
DATA_TYPE_TEXT = 1,
|
||||
};
|
||||
|
||||
struct Message
|
||||
{
|
||||
uint32_t m_Length:30;
|
||||
|
Reference in New Issue
Block a user