From 7c195219cd7eb394a3a56d69efc53a50f3dfe867 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Sun, 7 Mar 2021 19:25:53 -0800 Subject: [PATCH] reorder methods in IXWebSocket.h --- ixwebsocket/IXWebSocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ixwebsocket/IXWebSocket.h b/ixwebsocket/IXWebSocket.h index 7779ad14..5a6afa3d 100644 --- a/ixwebsocket/IXWebSocket.h +++ b/ixwebsocket/IXWebSocket.h @@ -48,7 +48,6 @@ namespace ix void setUrl(const std::string& url); // send extra headers in client handshake request - void setHandshakeTimeout(int handshakeTimeoutSecs); void setExtraHeaders(const WebSocketHttpHeaders& headers); void setPerMessageDeflateOptions( const WebSocketPerMessageDeflateOptions& perMessageDeflateOptions); @@ -59,6 +58,7 @@ namespace ix void enablePerMessageDeflate(); void disablePerMessageDeflate(); void addSubProtocol(const std::string& subProtocol); + void setHandshakeTimeout(int handshakeTimeoutSecs); // Run asynchronously, by calling start and stop. void start();