1#include "HTTPSSingleton.h"
9 HTTPSSingleton::HTTPSSingleton() :
15 HTTPSSingleton& HTTPSSingleton::get()
17 static HTTPSSingleton instance;
22 void HTTPSSingleton::setUseHTTPS(
bool useHTTPS)
24 this->useHTTPS = useHTTPS;
27 void HTTPSSingleton::setPathToCertificate(
const filesystem::path& pathToCertificate)
29 this->pathToCertificate = pathToCertificate;
32 void HTTPSSingleton::setPathToKey(
const filesystem::path& pathToKey)
34 this->pathToKey = pathToKey;
37 bool HTTPSSingleton::getUseHTTPS()
const
42 const filesystem::path& HTTPSSingleton::getPathToCertificate()
const
44 return pathToCertificate;
47 const filesystem::path& HTTPSSingleton::getPathToKey()
const