|
TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the http connection. More...
#include <qhttpconnection.h>
Inheritance diagram for QHttpConnection:Signals | |
| void | newRequest (QHttpRequest *request, QHttpResponse *response) |
| void | allBytesWritten () |
Public Member Functions | |
| QHttpConnection (QTcpSocket *socket, QObject *parent=nullptr) | |
| void | write (const QByteArray &data) |
| void | flush () |
| void | waitForBytesWritten () |
Private Slots | |
| void | parseRequest () |
| void | responseDone () |
| void | socketDisconnected () |
| void | invalidateRequest () |
| void | updateWriteCount (qint64) |
The class of the http connection.
Definition at line 29 of file qhttpconnection.h.
|
explicit |
Definition at line 130 of file qhttpconnection.cpp.
References parseRequest(), socketDisconnected(), TTK_D, TTK_INIT_PRIVATE, and updateWriteCount().
|
signal |
Referenced by QHttpConnectionPrivate::writeCount().
| void QHttpConnection::flush | ( | ) |
Definition at line 176 of file qhttpconnection.cpp.
References TTK_D.
|
privateslot |
Definition at line 152 of file qhttpconnection.cpp.
References TTK_D.
Referenced by socketDisconnected().
|
signal |
Referenced by QHttpConnectionPrivate::HeadersComplete().
|
privateslot |
Definition at line 164 of file qhttpconnection.cpp.
References TTK_D.
Referenced by QHttpConnection().
|
privateslot |
Definition at line 188 of file qhttpconnection.cpp.
References QHttpResponse::isLast(), TTK_D, and TTKObjectCast.
|
privateslot |
Definition at line 143 of file qhttpconnection.cpp.
References invalidateRequest(), and TTK_D.
Referenced by QHttpConnection().
|
privateslot |
Definition at line 158 of file qhttpconnection.cpp.
References TTK_D.
Referenced by QHttpConnection().
| void QHttpConnection::waitForBytesWritten | ( | ) |
Definition at line 182 of file qhttpconnection.cpp.
References TTK_D.
| void QHttpConnection::write | ( | const QByteArray & | data | ) |
Definition at line 170 of file qhttpconnection.cpp.
References TTK_D.
Referenced by QHttpResponsePrivate::write(), QHttpResponsePrivate::writeHead(), and QHttpResponsePrivate::writeHeader().
1.8.8