update readme.md
This commit is contained in:
parent
912d926260
commit
5b333f91f6
@ -131,11 +131,11 @@ webSocket.setOnMessageCallback(
|
||||
{
|
||||
if (messageType == ix::WebSocket_MessageType_Open)
|
||||
{
|
||||
puts("send greetings");
|
||||
std::cout << "send greetings" << std::endl;
|
||||
}
|
||||
else if (messageType == ix::WebSocket_MessageType_Close)
|
||||
{
|
||||
puts("disconnected");
|
||||
std::cout << "disconnected" << std::endl;
|
||||
|
||||
// The server can send an explicit code and reason for closing.
|
||||
// This data can be accessed through the closeInfo object.
|
||||
|
Loading…
Reference in New Issue
Block a user