SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
httpdocrootsettings.h
Go to the documentation of this file.
1 /*
2  * httpdocrootsettings.h
3  *
4  * Created on: Nov 13, 2017
5  * Author: f4exb
6  */
7 
8 #ifndef HTTPSERVER_HTTPDOCROOTSETTINGS_H_
9 #define HTTPSERVER_HTTPDOCROOTSETTINGS_H_
10 
11 #include <QString>
12 
13 namespace qtwebapp {
14 
16 {
17 public:
18  QString path;
19  QString encoding;
20  int maxAge;
21  int cacheTime;
22  int cacheSize;
24 
27  }
28 
30  {
31  path = ".";
32  encoding = "UTF-8";
33  maxAge = 60000;
34  cacheTime = 60000;
35  cacheSize = 1000000;
36  maxCachedFileSize = 65536;
37  }
38 };
39 
40 } // end of namespace
41 
42 #endif /* HTTPSERVER_HTTPDOCROOTSETTINGS_H_ */