add an option to easily disable per message deflate compression
This commit is contained in:
4
ws/ws.h
4
ws/ws.h
@ -30,7 +30,9 @@ namespace ix
|
||||
|
||||
int ws_chat_main(const std::string& url, const std::string& user);
|
||||
|
||||
int ws_connect_main(const std::string& url, bool disableAutomaticReconnection);
|
||||
int ws_connect_main(const std::string& url,
|
||||
bool disableAutomaticReconnection,
|
||||
bool disablePerMessageDeflate);
|
||||
|
||||
int ws_receive_main(const std::string& url, bool enablePerMessageDeflate, int delayMs);
|
||||
|
||||
|
Reference in New Issue
Block a user