mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-22 21:47:11 +02:00
Update Net.hpp
This commit is contained in:
1 parent
e8fa9e0259
commit
15e85f1394
1 file changed
+1
-1
@@ -648,7 +648,7 @@ struct WebSocketClient : public SqChainedInstances< WebSocketClient >
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* 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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user