summaryrefslogtreecommitdiff
path: root/examples/websockets/doc/echoserver.qdoc
blob: f314ac00bc11d6b52d86b2f94eada2e0b79cee58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

/*!
    \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 it receives, using the \l {Qt WebSockets}{WebSocket} API.

    If your web browser supports \l {Qt WebSockets}{WebSocket}, you can also use it
    to open the \c {echoserver/echoclient.html}{echoclient.html} file, and operate
    like the following screenshot.

    \image echoclient-html-example.png Screenshot of the HTML version of Echo
    Client example

    \sa {Echo Client Example}
*/