summaryrefslogtreecommitdiff
path: root/include/m_netlib.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-10 22:39:33 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-10 22:39:33 +0300
commitdcb62e4830223c1f5233d90b855e74006fd0942b (patch)
tree3b9c5be79f43958d8b9b2f691f0f6801d2aa25d0 /include/m_netlib.h
parentcb462baced051c43598acf767058514a9aefd73c (diff)
WebSocket_Connect to return the reply to a HTTP request instead of a connection
Diffstat (limited to 'include/m_netlib.h')
-rw-r--r--include/m_netlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h
index 8119863412..3164125e2a 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -789,7 +789,7 @@ struct WSHeader
};
// connects to a WebSocket server
-EXTERN_C MIR_APP_DLL(HNETLIBCONN) WebSocket_Connect(HNETLIBUSER, const char *szHost, NETLIBHTTPHEADER *pHeaders = nullptr);
+EXTERN_C MIR_APP_DLL(NETLIBHTTPREQUEST*) WebSocket_Connect(HNETLIBUSER, const char *szHost, NETLIBHTTPHEADER *pHeaders = nullptr);
// validates that the provided buffer contains full WebSocket datagram
EXTERN_C MIR_APP_DLL(bool) WebSocket_InitHeader(WSHeader &hdr, const void *pData, size_t bufSize);