diff --git a/src/WebSocketsClient.h b/src/WebSocketsClient.h index c34fdd9..7fa716c 100644 --- a/src/WebSocketsClient.h +++ b/src/WebSocketsClient.h @@ -65,7 +65,7 @@ class WebSocketsClient: private WebSockets { void disconnect(void); - private: + protected: String _host; uint16_t _port; diff --git a/src/WebSocketsServer.h b/src/WebSocketsServer.h index a6b6a27..6ad6d54 100644 --- a/src/WebSocketsServer.h +++ b/src/WebSocketsServer.h @@ -81,7 +81,7 @@ public: IPAddress remoteIP(uint8_t num); -private: +protected: uint16_t _port; #ifdef ESP8266