WebpagePrinterTool 2.0
Print a web page skip the browser's print preview
|
#include <HttpServer.h>
Public 成员函数 | |
HttpServer (std::function< void(const QString &, const QString &, const QString &, std::move_only_function< void(QJsonObject)>)> message_handler, const QString &http_server_ip, const QString &http_server_port) | |
Construct a new Http Server object | |
Private 属性 | |
std::unique_ptr< QHttpServer > | http_server {nullptr} |
std::unique_ptr< QTcpServer > | tcp_server {nullptr} |
std::function< void(const QString &, const QString &, const QString &, std::move_only_function< void(QJsonObject)>)> | message_handler |
|
explicit |
Construct a new Http Server object
message_handler | |
http_server_ip | |
http_server_port |
|
private |
|
private |
|
private |