update comments

This commit is contained in:
dimon4eg
2019-05-09 00:16:37 +03:00
parent 467f99b3bb
commit 2727d39fa4
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();