UniSet 2.44.4
Класс uniset::UHttp::UHttpServer

Открытые члены

 UHttpServer (std::shared_ptr< IHttpRequestRegistry > &supplier, const std::string &host, int port)
 
void start ()
 
void stop ()
 
std::shared_ptr< DebugStreamlog ()
 
void setCORS_allow (const std::string &CORS_allow)
 
void setDefaultContentType (const std::string &ct)
 
void setWhitelist (const std::vector< std::string > &wl)
 
void setBlacklist (const std::vector< std::string > &bl)
 
void setTrustedProxies (const std::vector< std::string > &proxies)
 
void setBearerRequired (bool required)
 
void setBearerTokens (const std::vector< std::string > &tokens)
 

Конструктор(ы)

◆ UHttpServer()

uniset::UHttpServer::UHttpServer ( std::shared_ptr< IHttpRequestRegistry > & supplier,
const std::string & host,
int port )

\FIXME: доделать конфигурирование параметров