diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2020-12-13 22:02:02 +0100 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2020-12-21 11:11:21 +0000 |
commit | fa6c7e50321e7be048297e5d0ce8503647a9488e (patch) | |
tree | be0c21ddd4a9dca660f4add3646f285ea628987b /src | |
parent | 6a6a7203f4e1856044181fb5db51f2f08388d127 (diff) | |
download | qtwebsockets-fa6c7e50321e7be048297e5d0ce8503647a9488e.tar.gz |
Add doc note about internal ping/pong handling
Pick-to: 5.15
Change-Id: Ic74407b17d03fbfd3077ac1dd4f689a7207ccb51
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/websockets/qwebsocket.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/websockets/qwebsocket.cpp b/src/websockets/qwebsocket.cpp index 8381047..925ddd1 100644 --- a/src/websockets/qwebsocket.cpp +++ b/src/websockets/qwebsocket.cpp @@ -508,6 +508,9 @@ void QWebSocket::open(const QNetworkRequest &request) The size of the \a payload cannot be bigger than 125. If it is larger, the \a payload is clipped to 125 bytes. + \note QWebSocket and QWebSocketServer handles ping requests internally, + which means they automatically send back a pong response to the peer. + \sa pong() */ void QWebSocket::ping(const QByteArray &payload) |