You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
356 B
15 lines
356 B
#pragma once
|
|
|
|
#include "common/util.h"
|
|
#include "selfdrive/ui/qt/api.h"
|
|
#include "selfdrive/ui/ui.h"
|
|
|
|
class RequestRepeater : public HttpRequest {
|
|
public:
|
|
RequestRepeater(QObject *parent, const QString &requestURL, const QString &cacheKey = "", int period = 0, bool while_onroad=false);
|
|
|
|
private:
|
|
Params params;
|
|
QTimer *timer;
|
|
QString prevResp;
|
|
};
|
|
|