Qt WebSockets QML 类型

访问 QML 类型,通过使用:

import QtWebSockets 1.15
					

注意: 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