Qt WebSockets QML Types

The QML types are accessed by using:


  import QtWebSockets 1.0

Note: Prior to Qt 5.5, the import statement was import Qt.WebSockets 1.0 (notice the dot between Qt and WebSockets). The old statement is still supported for backwards compatibility, but it cannot be mixed with the new statement within the same project.

WebSocket

QML interface to QWebSocket

WebSocketServer

QML interface to QWebSocketServer