Qt HTTP Server C++ Classes

提供 HTTP 服务器框架的 C++ 类列表。更多

此模块在 Qt 6.4 中引入。

QAbstractHttpServer

子类实现 HTTP 服务器的 API

QHttpServer

QAbstractHttpServer 和 QHttpServerRouter 的简化 API

QHttpServerConfiguration

控制服务器参数

QHttpServerRequest

封装 HTTP 请求

QHttpServerResponder

从 HTTP 服务器发送回复的 API

QHttpServerResponse

封装 HTTP 响应

QHttpServerRouter

提供将路径绑定到 ViewHandler 的函数

QHttpServerRouterRule

QHttpServerRouter 规则的基类

QHttpServerWebSocketUpgradeResponse

在 HTTP 服务器上验证 WebSocket 升级时返回的响应

详细说明

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.