forked from btclock/btclock_v3
15 lines
299 B
C++
15 lines
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;
|
||
|
};
|