WebSocket QML Type
|Import Statement:||import QtWebSockets 1.0|
- void sendTextMessage(string message)
When set to true, a connection is made to the server with the given url. When set to false, the connection is closed. The default value is false.
errorString : QString
Contains a description of the last error that occurred. When no error occurrred, this string is empty.
url : QUrl
Server url to connect to. The url must have one of 2 schemes: ws:// or wss://. When not supplied, then ws:// is used.
This signal is emitted when a text message is received.
© 2016 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.