\example echoclient
\title Echo Client Example
\ingroup qtwebsockets-examples
- \brief Explains how to use the websocket API to create a simple echo client.
+ \brief Describes how to use the websocket API for creating a simple echo client.
+
+ The Echo Client Example shows how to use the websocket API to create a simple
+ echo client.
\sa {Echo Server Example}
*/
\example echoserver
\title Echo Server Example
\ingroup qtwebsockets-examples
+ \brief Shows how to create a simple server application that
+ sends back the messages it receives.
- The Echo Server example shows how to create a simple server application that
- sends back the messages that it receives, using the websockets API.
+ The Echo Server Example shows how to create a simple server application that
+ sends back the messages it receives, using the websockets API.
\sa {Echo Client Example}
*/
\example qmlwebsocketclient
\title QML WebSocket Client Example
\ingroup qtwebsockets-examples
+ \brief Explains how to program a QML WebSocket client example.
*/
\example simplechat
\title Simple Chat Example
\ingroup qtwebsockets-examples
+ \brief Shows how to use the QWebSocket and QWebSocketServer classes
+ for creating a minimalistic chat application over websockets.
- The Simple Chat example shows how to use the QWebSocket and QWebSocketServer
+ The Simple Chat Example shows how to use the QWebSocket and QWebSocketServer
classes to create a minimalistic chat application over websockets.
+
*/
\example sslechoclient
\title SSL Echo Client Example
\ingroup qtwebsockets-examples
+ \brief Shows how to use the QWebSocket class to implement an echo
+ client over a secure connection (wss).
The SSL Echo Client example shows how to use the QWebSocket class to implement
an echo client over a secure connection (wss).
\example sslechoserver
\title SSL Echo Server Example
\ingroup qtwebsockets-examples
+ \brief Shows how to use the QWebSocketServer class for implementing a simple
+ echo server over secure sockets (wss).
The SSL Echo Server example shows how to use the QWebSocketServer class
to implement a simple echo server over secure sockets (wss).
\page examples.html
\brief List of Qt WebSocket examples
- The module provides the following examples for reference to
- help understand the API usage:
+ The examples below can be used as a guide to using the API.
\list
\li \l echoclient
QT += websockets
\endcode
- \section1 Related information
+ \section1 Reference documentation
\list
\li \l{Qt WebSockets C++ Classes}{C++ Classes}
- \li \l{Qt WebSockets Examples}{Examples}
\li \l{Qt WebSockets QML Types}{QML Types}
\endlist
+
+ \section1 Examples
+
+ The module provides the following examples as a guide to using
+ the API.
+ \l{Qt WebSockets Examples}{Examples}
*/
\title Qt WebSockets C++ Classes
\ingroup modules
\qtvariable websockets
+ \since 5.3
\brief List of C++ classes that provide WebSockets communication.
To use these classes in your application, use the following include
\brief List of QML types that provide WebSockets communication.
\annotatedlist websockets-qml
+
+ The QML types are accessed by using:
+ \code
+ import QtWebSockets 1.0
+ \endcode
*/