(cobra connection and bots) set an HTTP header when connecting to help with debugging bots

This commit is contained in:
Benjamin Sergeant
2020-09-18 15:11:12 -07:00
parent 39c84c7d51
commit d525c28907
7 changed files with 17 additions and 4 deletions

View File

@ -54,6 +54,7 @@ namespace ix
std::lock_guard<std::mutex> lock(_configMutex);
_url = url;
}
void WebSocket::setExtraHeaders(const WebSocketHttpHeaders& headers)
{
std::lock_guard<std::mutex> lock(_configMutex);

View File

@ -6,4 +6,4 @@
#pragma once
#define IX_WEBSOCKET_VERSION "10.4.0"
#define IX_WEBSOCKET_VERSION "10.4.1"