most ws command take tls options, no-op for now (contributed by Matt DeBoer)

This commit is contained in:
Benjamin Sergeant
2019-09-29 18:29:51 -07:00
parent d1fb34694c
commit 864249b62d
11 changed files with 100 additions and 34 deletions

View File

@ -6,6 +6,7 @@
#include <iostream>
#include <ixwebsocket/IXSocket.h>
#include <ixwebsocket/IXSocketTLSOptions.h>
#include <ixwebsocket/IXWebSocket.h>
#include <sstream>
@ -123,7 +124,7 @@ namespace ix
_webSocket.send(text);
}
int ws_ping_pong_main(const std::string& url)
int ws_ping_pong_main(const std::string& url, const ix::SocketTLSOptions& tlsOptions)
{
std::cout << "Type Ctrl-D to exit prompt..." << std::endl;
WebSocketPingPong webSocketPingPong(url);