update doc / fix incorrect comment about sending defaultint to binary mode

This commit is contained in:
Benjamin Sergeant 2020-02-24 16:24:32 -08:00
parent c96abcef1c
commit 6d0c568aaa

View File

@ -72,7 +72,7 @@ namespace ix
WebSocketInitResult connect(int timeoutSecs);
void run();
// send is in binary mode by default
// send is in text mode by default
WebSocketSendInfo send(const std::string& data,
bool binary = false,
const OnProgressCallback& onProgressCallback = nullptr);