reorder methods in IXWebSocket.h
This commit is contained in:
1 parent
d739662a7c
commit
7c195219cd
1 file changed
+1
-1
@@ -48,7 +48,6 @@ namespace ix
|
|||||||
void setUrl(const std::string& url);
|
void setUrl(const std::string& url);
|
||||||
|
|
||||||
// send extra headers in client handshake request
|
// send extra headers in client handshake request
|
||||||
void setHandshakeTimeout(int handshakeTimeoutSecs);
|
|
||||||
void setExtraHeaders(const WebSocketHttpHeaders& headers);
|
void setExtraHeaders(const WebSocketHttpHeaders& headers);
|
||||||
void setPerMessageDeflateOptions(
|
void setPerMessageDeflateOptions(
|
||||||
const WebSocketPerMessageDeflateOptions& perMessageDeflateOptions);
|
const WebSocketPerMessageDeflateOptions& perMessageDeflateOptions);
|
||||||
@@ -59,6 +58,7 @@ namespace ix
|
|||||||
void enablePerMessageDeflate();
|
void enablePerMessageDeflate();
|
||||||
void disablePerMessageDeflate();
|
void disablePerMessageDeflate();
|
||||||
void addSubProtocol(const std::string& subProtocol);
|
void addSubProtocol(const std::string& subProtocol);
|
||||||
|
void setHandshakeTimeout(int handshakeTimeoutSecs);
|
||||||
|
|
||||||
// Run asynchronously, by calling start and stop.
|
// Run asynchronously, by calling start and stop.
|
||||||
void start();
|
void start();
|
||||||
|
|||||||
Reference in new issue
Block a user