btclock_v3/src/lib/webserver/OneParamRewrite.hpp
2023-11-30 22:56:50 +01:00

14 lines
No EOL
291 B
C++

#pragma once
#include "ESPAsyncWebServer.h"
class OneParamRewrite : public AsyncWebRewrite {
protected:
String _urlPrefix;
int _paramIndex;
String _paramsBackup;
public:
OneParamRewrite(const char *from, const char *to);
bool match(AsyncWebServerRequest *request) override;
};