Qt WebSockets Examples▲
The examples below can be used as a guide to using the Qt WebSockets API.
-
Echo Client Example: Describes how to use the WebSocket API for creating a simple echo client.
-
Echo Server Example: Shows how to create a simple server application that sends back the messages it receives.
-
QML WebSocket Client Example: Explains how to program a QML WebSocket client example.
-
QML WebSocket Server Example: A simple example that shows how to use a QML WebSocketServer.
-
SSL Echo Client Example: Shows how to use the QWebSocket class to implement an echo client over a secure connection (wss).
-
SSL Echo Server Example: Shows how to use the QWebSocketServer class for implementing a simple echo server over secure sockets (wss).
-
Simple Chat Example: Shows how to use the QWebSocket and QWebSocketServer classes for creating a minimalistic chat application over the WebSocket protocol.