En esta página

Qt WebSockets C++ Classes

Lista de clases C++ que permiten la comunicación basada en WebSocket. Más...

Espacios de nombres

QWebSocketProtocol

Contiene constantes relacionadas con el estándar WebSocket

Clases

QMaskGenerator

Base abstracta para generadores personalizados de máscaras de 32 bits

QWebSocket

Implementa un socket TCP que habla el protocolo WebSocket

QWebSocketCorsAuthenticator

Objeto autenticador para solicitudes de origen cruzado (CORS)

QWebSocketHandshakeOptions

Recoge opciones para el handshake WebSocket

QWebSocketServer

Implementa un servidor basado en WebSocket

Descripción detallada

Para utilizar estas clases en su aplicación, utilice la siguiente sentencia include:

#include <QtWebSockets/QtWebSockets>

Para enlazar con el módulo, añada esta línea al archivo qmake .pro:

QT += websockets

© 2026 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.