In questa pagina

Qt WebSockets C++ Classes

Elenco delle classi C++ che consentono la comunicazione basata su WebSocket. Altro...

Spazi dei nomi

QWebSocketProtocol

Contiene costanti relative allo standard WebSocket

Classi

QMaskGenerator

Base astratta per generatori di maschere personalizzate a 32 bit

QWebSocket

Implementa un socket TCP che utilizza il protocollo WebSocket

QWebSocketCorsAuthenticator

Oggetto autenticatore per le richieste cross-origin (CORS)

QWebSocketHandshakeOptions

Raccoglie le opzioni per l’handshake WebSocket

QWebSocketServer

Implementa un server basato su WebSocket

Descrizione dettagliata

Per utilizzare queste classi nella propria applicazione, utilizzare la seguente istruzione include:

#include <QtWebSockets/QtWebSockets>

Per collegare il modulo, aggiungere questa riga al file 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.