![]() |
C++ Web Framework
3.0
|
All classes of C++ Web Framework are contained within the namespace CWF. More...
#include <configuration.h>
Public Member Functions | |
| Configuration (const QString &serverFilesPath="") | |
| Will make reading the CPPWeb.ini file and extract all of its properties. More... | |
| int | getTimeOut () const noexcept |
| Returns the timeOut property that will be used by the server to expire threads that are not in use. Such threads will be restarted as needed. The default timeOut is 30000 milliseconds (30 seconds). If timeOut is negative, newly created threads will not expire, e.g., they will not exit until the thread pool is destroyed. More... | |
| int | getSessionExpirationTime () const noexcept |
| Returns the Session Expiration Time. More... | |
| int | getCleanupInterval () const noexcept |
| Returns the clean up interval Time. More... | |
| int | getPort () const noexcept |
| Returns the port number. More... | |
| QHostAddress | getHost () const noexcept |
| Returns the address. More... | |
| int | getMaxThread () const noexcept |
| Returns the max thread number. More... | |
| QString | getSslKeyFile () const noexcept |
| Returns the ssl key file. More... | |
| QString | getSslCertFile () const noexcept |
| Returns the ssl cert file. More... | |
| QString | getPath () const noexcept |
| Returns the path to the server's folder. More... | |
| QString | getLogFilePath () const noexcept |
| Returns the log file path. More... | |
| qint64 | getMaxUploadFile () const noexcept |
| Returns max upload file size supported by the server. More... | |
| qint64 | getMaxLogFile () const noexcept |
| getMaxLogFile the max file log More... | |
| QString | getIndexPage () const noexcept |
| Returns the index page. More... | |
| bool | getAccessServerPages () const noexcept |
| Returns the access server page. More... | |
| QByteArray | getSslPassPhrase () const noexcept |
| Returns the ssl pass phrase. More... | |
| bool | isValid () const noexcept |
| Returns true if the Configuration is ok. Otherwise returns false. More... | |
| QSsl::KeyAlgorithm | getSslKeyAlgorithm () const noexcept |
| Returns the SSL Key Algorithm. The RSA is defined by default. More... | |
| QSsl::KeyType | getSslKeyType () const noexcept |
| Returns the SSL Key Type. The private is defined by default. More... | |
| QSsl::EncodingFormat | getSslEncodingFormat () const noexcept |
| Returns the SSL Encoding Format. The PEM is defined by default. More... | |
| QSslSocket::PeerVerifyMode | getSslPeerVerifyMode () const noexcept |
| Returns the SSL Peer Veryfy Mode. The VerifyNone is defined by default. More... | |
| QSsl::SslProtocol | getSslProtocol () const noexcept |
| Returns the SSL Protocol. The TlsV1SslV3 is defined by default. More... | |
All classes of C++ Web Framework are contained within the namespace CWF.
This class is responsable to read a ini file and extract its information.
|
explicit |
Will make reading the CPPWeb.ini file and extract all of its properties.
| QString | serverFilesPath : You should always points to the directory server. |
|
inlinenoexcept |
Returns the access server page.
|
inlinenoexcept |
Returns the clean up interval Time.
| int | : Time in milliseconds. |
|
inlinenoexcept |
Returns the address.
| QHostAddress | : host. |
|
inlinenoexcept |
Returns the index page.
|
inlinenoexcept |
Returns the log file path.
| QString | : log file. |
|
inlinenoexcept |
getMaxLogFile the max file log
|
inlinenoexcept |
Returns the max thread number.
| int | : max. |
|
inlinenoexcept |
Returns max upload file size supported by the server.
| qint64 | max file size. |
|
inlinenoexcept |
Returns the path to the server's folder.
| QString | : path. |
|
inlinenoexcept |
Returns the port number.
| int | : port. |
|
inlinenoexcept |
Returns the Session Expiration Time.
| int | : Time in milliseconds. |
|
inlinenoexcept |
Returns the ssl cert file.
| QString | : sslCertFile name. |
|
inlinenoexcept |
Returns the SSL Encoding Format. The PEM is defined by default.
| QSsl::EncodingFormat | : SSL key Encoding Format. |
|
inlinenoexcept |
Returns the SSL Key Algorithm. The RSA is defined by default.
| QSsl::KeyAlgorithm | : SSL key Algorithm. |
|
inlinenoexcept |
Returns the ssl key file.
| QString | : sslKeyFile name. |
|
inlinenoexcept |
Returns the SSL Key Type. The private is defined by default.
| QSsl::KeyType | : SSL key Type. |
|
inlinenoexcept |
Returns the ssl pass phrase.
|
inlinenoexcept |
Returns the SSL Peer Veryfy Mode. The VerifyNone is defined by default.
| QSslSocket::PeerVerifyMode | : Peer Veryfy Mode; |
|
inlinenoexcept |
Returns the SSL Protocol. The TlsV1SslV3 is defined by default.
| QSsl::SslProtocol | : SSL Protocol; |
|
inlinenoexcept |
Returns the timeOut property that will be used by the server to expire threads that are not in use. Such threads will be restarted as needed. The default timeOut is 30000 milliseconds (30 seconds). If timeOut is negative, newly created threads will not expire, e.g., they will not exit until the thread pool is destroyed.
| int | : Time in milliseconds. |
|
inlinenoexcept |
Returns true if the Configuration is ok. Otherwise returns false.
| bool | : is valid. |
1.8.13