|
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 response private. More...
Inheritance diagram for QHttpResponsePrivate:Public Member Functions | |
| QHttpResponsePrivate () noexcept | |
| void | writeHeaders () |
| void | writeHead (int status) |
| void | writeHeader (const char *field, const QString &value) |
| void | write (const QByteArray &data) |
| void | setHeader (const QString &field, const QString &value) |
Public Member Functions inherited from TTKPrivate< QHttpResponse > | |
| TTKPrivate () noexcept | |
| virtual | ~TTKPrivate ()=default |
| void | setPublic (QHttpResponse *pub) noexcept |
Public Attributes | |
| QHttpConnection * | m_connection |
| HeaderHash | m_headers |
| bool | m_headerWritten |
| bool | m_sentConnectionHeader |
| bool | m_sentContentLengthHeader |
| bool | m_sentTransferEncodingHeader |
| bool | m_sentDate |
| bool | m_keepAlive |
| bool | m_last |
| bool | m_useChunkedEncoding |
| bool | m_finished |
Additional Inherited Members | |
Protected Member Functions inherited from TTKPrivate< QHttpResponse > | |
| QHttpResponse * | _q () const noexcept |
The class of the http response private.
Definition at line 12 of file qhttpresponse.cpp.
|
noexcept |
Definition at line 40 of file qhttpresponse.cpp.
Definition at line 184 of file qhttpresponse.cpp.
References m_finished, and m_headers.
| void QHttpResponsePrivate::write | ( | const QByteArray & | data | ) |
Definition at line 167 of file qhttpresponse.cpp.
References m_connection, m_finished, m_headerWritten, and QHttpConnection::write().
| void QHttpResponsePrivate::writeHead | ( | int | status | ) |
Definition at line 132 of file qhttpresponse.cpp.
References m_connection, m_finished, m_headerWritten, STATUS_CODES, QHttpConnection::write(), and writeHeaders().
Definition at line 152 of file qhttpresponse.cpp.
References m_connection, m_finished, and QHttpConnection::write().
Referenced by writeHeaders().
| void QHttpResponsePrivate::writeHeaders | ( | ) |
Definition at line 55 of file qhttpresponse.cpp.
References m_finished, m_headers, m_keepAlive, m_last, m_sentConnectionHeader, m_sentContentLengthHeader, m_sentDate, m_sentTransferEncodingHeader, m_useChunkedEncoding, name, TTK::toString(), and writeHeader().
Referenced by writeHead().
| QHttpConnection* QHttpResponsePrivate::m_connection |
Definition at line 24 of file qhttpresponse.cpp.
Referenced by write(), writeHead(), and writeHeader().
| bool QHttpResponsePrivate::m_finished |
Definition at line 36 of file qhttpresponse.cpp.
Referenced by setHeader(), write(), writeHead(), writeHeader(), and writeHeaders().
| HeaderHash QHttpResponsePrivate::m_headers |
Definition at line 26 of file qhttpresponse.cpp.
Referenced by setHeader(), and writeHeaders().
| bool QHttpResponsePrivate::m_headerWritten |
Definition at line 28 of file qhttpresponse.cpp.
Referenced by write(), and writeHead().
| bool QHttpResponsePrivate::m_keepAlive |
Definition at line 33 of file qhttpresponse.cpp.
Referenced by writeHeaders().
| bool QHttpResponsePrivate::m_last |
Definition at line 34 of file qhttpresponse.cpp.
Referenced by writeHeaders().
| bool QHttpResponsePrivate::m_sentConnectionHeader |
Definition at line 29 of file qhttpresponse.cpp.
Referenced by writeHeaders().
| bool QHttpResponsePrivate::m_sentContentLengthHeader |
Definition at line 30 of file qhttpresponse.cpp.
Referenced by writeHeaders().
| bool QHttpResponsePrivate::m_sentDate |
Definition at line 32 of file qhttpresponse.cpp.
Referenced by writeHeaders().
| bool QHttpResponsePrivate::m_sentTransferEncodingHeader |
Definition at line 31 of file qhttpresponse.cpp.
Referenced by writeHeaders().
| bool QHttpResponsePrivate::m_useChunkedEncoding |
Definition at line 35 of file qhttpresponse.cpp.
Referenced by writeHeaders().
1.8.8