1
0
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:
Sandu Liviu Catalin 2021-09-10 22:44:55 +03:00
parent f49452c165
commit f8ebb0e2b1

View File

@ -272,14 +272,6 @@ struct WebSocketClient : public SqChainedInstances< WebSocketClient >
*/ */
WebSocketClient & operator = (WebSocketClient &&) = delete; WebSocketClient & operator = (WebSocketClient &&) = delete;
/* --------------------------------------------------------------------------------------------
* Retrieve the associated user tag.
*/
SQMOD_NODISCARD const String & GetTag() const
{
return mTag;
}
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* Return whether the associated connection handle is valid. * Return whether the associated connection handle is valid.
*/ */
@ -297,6 +289,14 @@ struct WebSocketClient : public SqChainedInstances< WebSocketClient >
return mClosing.load(); return mClosing.load();
} }
/* --------------------------------------------------------------------------------------------
* Retrieve the associated user tag.
*/
SQMOD_NODISCARD const String & GetTag() const
{
return mTag;
}
/* -------------------------------------------------------------------------------------------- /* --------------------------------------------------------------------------------------------
* Modify the associated user tag. * Modify the associated user tag.
*/ */