Revert "Export static symbols when building ws with shared library (#370)" (#383)

This reverts commit a3d2fa4b7e.
This commit is contained in:
Benjamin Sergeant
2022-04-12 08:55:43 -07:00
committed by GitHub
parent 20921f341a
commit 4420bc70b5
8 changed files with 34 additions and 79 deletions

View File

@ -8,7 +8,6 @@
#include "IXSocketServer.h"
#include "IXWebSocket.h"
#include "IXWebsocketExport.h"
#include <condition_variable>
#include <functional>
#include <memory>
@ -51,7 +50,7 @@ namespace ix
void makeBroadcastServer();
bool listenAndStart();
IXWEBSOCKET_EXPORT const static int kDefaultHandShakeTimeoutSecs;
const static int kDefaultHandShakeTimeoutSecs;
int getHandshakeTimeoutSecs();
bool isPongEnabled();
@ -68,7 +67,7 @@ namespace ix
std::mutex _clientsMutex;
std::set<std::shared_ptr<WebSocket>> _clients;
IXWEBSOCKET_EXPORT const static bool kDefaultEnablePong;
const static bool kDefaultEnablePong;
// Methods
virtual void handleConnection(std::unique_ptr<Socket> socket,