Qt WebSockets C++ Classes
支持基于 WebSocket 的通信的 C++ 类列表。更多
命名空间
包含与 WebSocket 标准相关的常量 |
类
自定义 32 位掩码生成器的抽象基础 | |
实现会话 WebSocket 协议的 TCP 套接字 | |
用于跨源请求(CORS)的验证器对象 | |
收集 WebSocket 握手的选项 | |
实现基于 WebSocket 的服务器 |
详细说明
要在应用程序中使用这些类,请使用以下 include 语句:
#include <QtWebSockets/QtWebSockets>
要链接该模块,请在qmake .pro
文件中添加此行:
QT += websockets
© 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.