mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-08-09 15:44:30 +02:00
Removed const keywords
This commit is contained in:
@@ -99,12 +99,12 @@ typedef std::function<void(AsyncWebServerRequest* request, JsonVariant& json)> A
|
|||||||
|
|
||||||
class AsyncCallbackJsonWebHandler : public AsyncWebHandler {
|
class AsyncCallbackJsonWebHandler : public AsyncWebHandler {
|
||||||
protected:
|
protected:
|
||||||
const String _uri;
|
String _uri;
|
||||||
WebRequestMethodComposite _method;
|
WebRequestMethodComposite _method;
|
||||||
ArJsonRequestHandlerFunction _onRequest;
|
ArJsonRequestHandlerFunction _onRequest;
|
||||||
size_t _contentLength;
|
size_t _contentLength;
|
||||||
#if ARDUINOJSON_VERSION_MAJOR == 6
|
#if ARDUINOJSON_VERSION_MAJOR == 6
|
||||||
const size_t maxJsonBufferSize;
|
size_t maxJsonBufferSize;
|
||||||
#endif
|
#endif
|
||||||
size_t _maxContentLength;
|
size_t _maxContentLength;
|
||||||
|
|
||||||
|
@@ -72,12 +72,12 @@ typedef std::function<void(AsyncWebServerRequest* request, JsonVariant& json)> A
|
|||||||
|
|
||||||
class AsyncCallbackMessagePackWebHandler : public AsyncWebHandler {
|
class AsyncCallbackMessagePackWebHandler : public AsyncWebHandler {
|
||||||
protected:
|
protected:
|
||||||
const String _uri;
|
String _uri;
|
||||||
WebRequestMethodComposite _method;
|
WebRequestMethodComposite _method;
|
||||||
ArMessagePackRequestHandlerFunction _onRequest;
|
ArMessagePackRequestHandlerFunction _onRequest;
|
||||||
size_t _contentLength;
|
size_t _contentLength;
|
||||||
#if ARDUINOJSON_VERSION_MAJOR == 6
|
#if ARDUINOJSON_VERSION_MAJOR == 6
|
||||||
const size_t maxJsonBufferSize;
|
size_t maxJsonBufferSize;
|
||||||
#endif
|
#endif
|
||||||
size_t _maxContentLength;
|
size_t _maxContentLength;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user