update doc / fix incorrect comment about sending defaultint to binary mode
This commit is contained in:
parent
c96abcef1c
commit
6d0c568aaa
@ -72,7 +72,7 @@ namespace ix
|
|||||||
WebSocketInitResult connect(int timeoutSecs);
|
WebSocketInitResult connect(int timeoutSecs);
|
||||||
void run();
|
void run();
|
||||||
|
|
||||||
// send is in binary mode by default
|
// send is in text mode by default
|
||||||
WebSocketSendInfo send(const std::string& data,
|
WebSocketSendInfo send(const std::string& data,
|
||||||
bool binary = false,
|
bool binary = false,
|
||||||
const OnProgressCallback& onProgressCallback = nullptr);
|
const OnProgressCallback& onProgressCallback = nullptr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user