diff --git a/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.h b/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.h index 862895e159..fc7109a115 100644 --- a/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.h +++ b/Sming/SmingCore/Network/Http/Websocket/WebsocketConnection.h @@ -175,8 +175,12 @@ class WebsocketConnection return (this == &rhs); } - /** @deprecated Will be removed */ - WebsocketList& getActiveWebsockets() SMING_DEPRECATED + /** + * @brief Obtain the list of active websockets + * @retval const WebsocketList& + * @note Return value is const as only restricted operations should be carried out on the list. + */ + static const WebsocketList& getActiveWebsockets() { return websocketList; }