(ws) ws connect gains a new option to set the interval at which to send pings

This commit is contained in:
Benjamin Sergeant
2020-03-17 23:54:32 -07:00
parent c6204f4d90
commit 8ec515f292
4 changed files with 50 additions and 6 deletions

View File

@ -50,7 +50,8 @@ namespace ix
bool binaryMode,
uint32_t maxWaitBetweenReconnectionRetries,
const ix::SocketTLSOptions& tlsOptions,
const std::string& subprotocol);
const std::string& subprotocol,
int pingIntervalSecs);
int ws_receive_main(const std::string& url,
bool enablePerMessageDeflate,