btclock_v2/src/lib/webserver/OneParamRewrite.hpp
2023-06-10 21:23:31 +02:00

15 lines
No EOL
299 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;
};