Socket Factory has only one function which works for server and client code, and can do tls for both
This commit is contained in:
@ -15,8 +15,7 @@ namespace ix
|
||||
class WebSocketPingPong
|
||||
{
|
||||
public:
|
||||
WebSocketPingPong(const std::string& _url,
|
||||
const ix::SocketTLSOptions& tlsOptions);
|
||||
WebSocketPingPong(const std::string& _url, const ix::SocketTLSOptions& tlsOptions);
|
||||
|
||||
void subscribe(const std::string& channel);
|
||||
void start();
|
||||
|
@ -26,7 +26,9 @@ namespace ix
|
||||
class WebSocketReceiver
|
||||
{
|
||||
public:
|
||||
WebSocketReceiver(const std::string& _url, bool enablePerMessageDeflate, int delayMs,
|
||||
WebSocketReceiver(const std::string& _url,
|
||||
bool enablePerMessageDeflate,
|
||||
int delayMs,
|
||||
const ix::SocketTLSOptions& tlsOptions);
|
||||
|
||||
void subscribe(const std::string& channel);
|
||||
|
Reference in New Issue
Block a user