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
						
					
					
						
							366 B
						
					
					
				
			
		
		
	
	
							15 lines
						
					
					
						
							366 B
						
					
					
				#pragma once
 | 
						|
 | 
						|
#include "selfdrive/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;
 | 
						|
};
 | 
						|
 |