summaryrefslogtreecommitdiff
path: root/include/m_netlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_netlib.h')
-rw-r--r--include/m_netlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h
index c11d0838db..7cc1524cb4 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -800,7 +800,8 @@ EXTERN_C MIR_APP_DLL(NETLIBHTTPREQUEST*) WebSocket_Connect(HNETLIBUSER, const ch
EXTERN_C MIR_APP_DLL(bool) WebSocket_InitHeader(WSHeader &hdr, const void *pData, size_t bufSize);
// sends a packet to WebSocket
-EXTERN_C MIR_APP_DLL(void) WebSocket_Send(HNETLIBCONN nlc, const void *pData, size_t strLen);
+EXTERN_C MIR_APP_DLL(void) WebSocket_SendText(HNETLIBCONN nlc, const char *pData);
+EXTERN_C MIR_APP_DLL(void) WebSocket_SendBinary(HNETLIBCONN nlc, const void *pData, size_t strLen);
/////////////////////////////////////////////////////////////////////////////////////////
// Netlib hooks (0.8+)