update comments

This commit is contained in:
dimon4eg 2019-05-09 00:16:37 +03:00
parent d6e9b61c8e
commit 469d127d61
3 changed files with 10 additions and 12 deletions

View File

@ -113,12 +113,10 @@ namespace ix
WebSocketSendInfo ping(const std::string& text);
void close();
/**
* Set callback to receive websocket messages.
*
* Be aware: your callback will be executed from websocket's internal thread!
*/
// Set callback to receive websocket messages.
// Be aware: your callback will be executed from websocket's internal thread!
void setOnMessageCallback(const OnMessageCallback& callback);
static void setTrafficTrackerCallback(const OnTrafficTrackerCallback& callback);
static void resetTrafficTrackerCallback();

View File

@ -1,7 +1,7 @@
/*
* IXWebSocketPoll.cpp
* IXWebSocketMessageQueue.cpp
* Author: Korchynskyi Dmytro
* Copyright (c) 2017-2018 Machine Zone, Inc. All rights reserved.
* Copyright (c) 2017-2019 Machine Zone, Inc. All rights reserved.
*/
#include "IXWebSocketMessageQueue.h"

View File

@ -1,7 +1,7 @@
/*
* IXWebSocketPoll.h
* IXWebSocketMessageQueue.h
* Author: Korchynskyi Dmytro
* Copyright (c) 2017-2018 Machine Zone, Inc. All rights reserved.
* Copyright (c) 2017-2019 Machine Zone, Inc. All rights reserved.
*/
#pragma once
@ -13,9 +13,9 @@
namespace ix
{
/**
* A helper class to dispatch websocket message callbacks in your thread.
*/
//
// A helper class to dispatch websocket message callbacks in your thread.
//
class WebSocketMessageQueue
{
public: