ping / pong support / fix bug in dispatching received message type

This commit is contained in:
Benjamin Sergeant
2018-10-25 14:40:58 -07:00
parent 977feae1d6
commit 2bc38acbb1
3 changed files with 19 additions and 2 deletions

View File

@ -199,7 +199,7 @@ namespace ix {
} break;
}
_onMessageCallback(WebSocket_MessageType_Message, msg, WebSocketErrorInfo());
_onMessageCallback(webSocketMessageType, msg, WebSocketErrorInfo());
WebSocket::invokeTrafficTrackerCallback(msg.size(), true);
});