diff --git a/src/AsyncJson.h b/src/AsyncJson.h index 6fc5eb7..167364a 100644 --- a/src/AsyncJson.h +++ b/src/AsyncJson.h @@ -99,12 +99,12 @@ typedef std::function A class AsyncCallbackJsonWebHandler : public AsyncWebHandler { protected: - const String _uri; + String _uri; WebRequestMethodComposite _method; ArJsonRequestHandlerFunction _onRequest; size_t _contentLength; #if ARDUINOJSON_VERSION_MAJOR == 6 - const size_t maxJsonBufferSize; + size_t maxJsonBufferSize; #endif size_t _maxContentLength; diff --git a/src/AsyncMessagePack.h b/src/AsyncMessagePack.h index 3194b5a..9ac5ee5 100644 --- a/src/AsyncMessagePack.h +++ b/src/AsyncMessagePack.h @@ -72,12 +72,12 @@ typedef std::function A class AsyncCallbackMessagePackWebHandler : public AsyncWebHandler { protected: - const String _uri; + String _uri; WebRequestMethodComposite _method; ArMessagePackRequestHandlerFunction _onRequest; size_t _contentLength; #if ARDUINOJSON_VERSION_MAJOR == 6 - const size_t maxJsonBufferSize; + size_t maxJsonBufferSize; #endif size_t _maxContentLength;