WebSocket QML Type
|Import Statement:||import QtWebSockets 1.0|
- void sendTextMessage(string message)
WebSockets is a web technology providing full-duplex communications channels over a single TCP connection. The WebSocket protocol was standardized by the IETF as RFC 6455 in 2011.
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.
Contains a description of the last error that occurred. When no error occurrred, this string is empty.
Status of the WebSocket.
The status can have the following values:
Server url to connect to. The url must have one of 2 schemes: ws:// or wss://. When not supplied, then ws:// is used.