Qt WebSockets C++ Classes▲
List of C++ classes that enable WebSocket-based communication.
This module was introduced in Qt 5.3.
Namespaces▲
-
QWebSocketProtocol: Contains constants related to the WebSocket standard.
Classes▲
-
QMaskGenerator: The QMaskGenerator class provides an abstract base for custom 32-bit mask generators.
-
QWebSocket: Implements a TCP socket that talks the WebSocket protocol.
-
QWebSocketCorsAuthenticator: The QWebSocketCorsAuthenticator class provides an authenticator object for Cross Origin Requests (CORS).
-
QWebSocketHandshakeOptions: Collects options for the WebSocket handshake.
-
QWebSocketServer: Implements a WebSocket-based server.
Detailed Description▲
To use these classes in your application, use the following include statement:
#include <QtWebSockets/QtWebSockets>
To link against the module, add this line to your qmake .pro file:
QT +=
websockets