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
httplistenersettings.h
Go to the documentation of this file.
1
/*
2
* httplistenersettings.h
3
*
4
* Created on: Nov 13, 2017
5
* Author: f4exb
6
*/
7
8
#ifndef HTTPSERVER_HTTPLISTENERSETTINGS_H_
9
#define HTTPSERVER_HTTPLISTENERSETTINGS_H_
10
11
namespace
qtwebapp
{
12
13
class
HttpListenerSettings
14
{
15
public
:
16
QString
host
;
17
int
port
;
18
int
minThreads
;
19
int
maxThreads
;
20
int
cleanupInterval
;
21
int
readTimeout
;
22
QString
sslKeyFile
;
23
QString
sslCertFile
;
24
int
maxRequestSize
;
25
int
maxMultiPartSize
;
26
27
HttpListenerSettings
() {
28
resetToDefaults
();
29
}
30
31
void
resetToDefaults
()
32
{
33
host =
"192.168.0.100"
;
34
port = 8080;
35
minThreads = 1;
36
maxThreads = 100;
37
cleanupInterval = 1000;
38
readTimeout = 10000;
39
sslKeyFile =
""
;
40
sslCertFile =
""
;
41
maxRequestSize = 16000;
42
maxMultiPartSize = 1000000;
43
}
44
};
45
46
}
// end of namespace
47
48
#endif
/* HTTPSERVER_HTTPLISTENERSETTINGS_H_ */
qtwebapp::HttpListenerSettings::cleanupInterval
int cleanupInterval
Definition:
httplistenersettings.h:20
qtwebapp::HttpListenerSettings::sslCertFile
QString sslCertFile
Definition:
httplistenersettings.h:23
qtwebapp::HttpListenerSettings::resetToDefaults
void resetToDefaults()
Definition:
httplistenersettings.h:31
qtwebapp::HttpListenerSettings::maxRequestSize
int maxRequestSize
Definition:
httplistenersettings.h:24
qtwebapp::HttpListenerSettings::maxMultiPartSize
int maxMultiPartSize
Definition:
httplistenersettings.h:25
qtwebapp::HttpListenerSettings::HttpListenerSettings
HttpListenerSettings()
Definition:
httplistenersettings.h:27
qtwebapp::HttpListenerSettings::host
QString host
Definition:
httplistenersettings.h:16
qtwebapp
Definition:
httpconnectionhandler.h:23
qtwebapp::HttpListenerSettings::readTimeout
int readTimeout
Definition:
httplistenersettings.h:21
qtwebapp::HttpListenerSettings::minThreads
int minThreads
Definition:
httplistenersettings.h:18
qtwebapp::HttpListenerSettings::port
int port
Definition:
httplistenersettings.h:17
qtwebapp::HttpListenerSettings
Definition:
httplistenersettings.h:13
qtwebapp::HttpListenerSettings::maxThreads
int maxThreads
Definition:
httplistenersettings.h:19
qtwebapp::HttpListenerSettings::sslKeyFile
QString sslKeyFile
Definition:
httplistenersettings.h:22
Generated on Fri Aug 2 2019 17:56:29 for SDRAngel by
1.8.13