update comments
This commit is contained in:
parent
d6e9b61c8e
commit
469d127d61
@ -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();
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user