Qt WebSockets C++ Classes | Qt WebSockets 5.6

Qt 5.6 | Qt WebSockets | Qt WebSockets C++ Classes

Qt 5.6.2 Reference Documentation

# Qt WebSockets C++ Classes

List of C++ classes that enable WebSocket-based communication. More...

This documentation was introduced in Qt 5.3.

## Namespaces

QWebSocketProtocol | Contains constants related to the WebSocket standard

## Classes

QMaskGenerator | Abstract base for custom 32-bit mask generators
QWebSocket | Implements a TCP socket that talks the WebSocket protocol
QWebSocketCorsAuthenticator | Authenticator object for Cross Origin Requests (CORS)
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