Add explicite WebSocket::sendBinary

New headers + WebSocketMessage class to hold message data, still not used across the board
This commit is contained in:
Benjamin Sergeant
2019-06-09 10:10:33 -07:00
parent 051c34bc5d
commit 23cf4bd59b
6 changed files with 105 additions and 55 deletions

View File

@ -0,0 +1,21 @@
/*
* IXWebSocketMessageType.h
* Author: Benjamin Sergeant
* Copyright (c) 2017-2019 Machine Zone, Inc. All rights reserved.
*/
#pragma once
namespace ix
{
enum class WebSocketMessageType
{
Message = 0,
Open = 1,
Close = 2,
Error = 3,
Ping = 4,
Pong = 5,
Fragment = 6
};
}