diff --git a/Source/websocket/WebSocketLink.h b/Source/websocket/WebSocketLink.h index 3125b3ffe..864a04568 100644 --- a/Source/websocket/WebSocketLink.h +++ b/Source/websocket/WebSocketLink.h @@ -186,13 +186,15 @@ namespace Web { class WebSocketLinkType { public: enum EnumlinkState : uint8_t { - WEBSERVICE = 0x01, + WEBSERVER DEPRECATED = 0x01, UPGRADING = 0x02, WEBSOCKET = 0x04, SUSPENDED = 0x08, ACTIVITY = 0x10 }; + constexpr static EnumlinkState WEBSERVICE = EnumlinkState::WEBSERVER; + typedef WebSocketLinkType ParentClass; private: