mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update Net.hpp
This commit is contained in:
parent
e8fa9e0259
commit
15e85f1394
@ -648,7 +648,7 @@ struct WebSocketClient : public SqChainedInstances< WebSocketClient >
|
|||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Sends the contents of the given buffer through the socket as a single frame.
|
* Sends the contents of the given buffer through the socket as a single frame.
|
||||||
*/
|
*/
|
||||||
SQMOD_NODISCARD SQInteger SendOpCode(SqBuffer & buf, SQInteger opcode)
|
SQMOD_NODISCARD SQInteger SendOpCode(SQInteger opcode)
|
||||||
{
|
{
|
||||||
return mg_websocket_client_write(Valid(), static_cast< int >(opcode), nullptr, 0);
|
return mg_websocket_client_write(Valid(), static_cast< int >(opcode), nullptr, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user