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.
httpserver
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
15
class
HttpDocrootSettings
16
{
17
public
:
18
QString
path
;
19
QString
encoding
;
20
int
maxAge
;
21
int
cacheTime
;
22
int
cacheSize
;
23
int
maxCachedFileSize
;
24
25
HttpDocrootSettings
() {
26
resetToDefaults
();
27
}
28
29
void
resetToDefaults
()
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_ */
qtwebapp::HttpDocrootSettings::maxAge
int maxAge
Definition:
httpdocrootsettings.h:20
qtwebapp::HttpDocrootSettings
Definition:
httpdocrootsettings.h:15
qtwebapp::HttpDocrootSettings::encoding
QString encoding
Definition:
httpdocrootsettings.h:19
qtwebapp::HttpDocrootSettings::cacheSize
int cacheSize
Definition:
httpdocrootsettings.h:22
qtwebapp
Definition:
httpconnectionhandler.h:23
qtwebapp::HttpDocrootSettings::path
QString path
Definition:
httpdocrootsettings.h:18
qtwebapp::HttpDocrootSettings::resetToDefaults
void resetToDefaults()
Definition:
httpdocrootsettings.h:29
qtwebapp::HttpDocrootSettings::HttpDocrootSettings
HttpDocrootSettings()
Definition:
httpdocrootsettings.h:25
qtwebapp::HttpDocrootSettings::maxCachedFileSize
int maxCachedFileSize
Definition:
httpdocrootsettings.h:23
qtwebapp::HttpDocrootSettings::cacheTime
int cacheTime
Definition:
httpdocrootsettings.h:21
Generated on Fri Aug 2 2019 17:56:29 for SDRAngel by
1.8.13