parent
b3b9ec901a
commit
b0c6144886
|
@ -140,6 +140,7 @@ class AsyncJsonResponse: public AsyncAbstractResponse {
|
|||
}
|
||||
};
|
||||
|
||||
#ifdef ARDUINOJSON_5_COMPATIBILITY
|
||||
class PrettyAsyncJsonResponse: public AsyncJsonResponse {
|
||||
public:
|
||||
PrettyAsyncJsonResponse (bool isArray=false) : AsyncJsonResponse{isArray} {}
|
||||
|
@ -154,6 +155,7 @@ public:
|
|||
return len;
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
typedef std::function<void(AsyncWebServerRequest *request, JsonVariant &json)> ArJsonRequestHandlerFunction;
|
||||
|
||||
|
|
Loading…
Reference in New Issue