TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | Public Attributes | List of all members
QHttpResponsePrivate Class Reference

The class of the http response private. More...

+ Inheritance diagram for QHttpResponsePrivate:

Public Member Functions

 QHttpResponsePrivate ()
 
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 ()
 
virtual ~TTKPrivate ()=default
 
void setPublic (QHttpResponse *pub)
 

Public Attributes

QHttpConnectionm_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 >
QHttpResponsettk_q () const
 

Detailed Description

The class of the http response private.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 12 of file qhttpresponse.cpp.

Constructor & Destructor Documentation

QHttpResponsePrivate::QHttpResponsePrivate ( )

Definition at line 40 of file qhttpresponse.cpp.

Member Function Documentation

void QHttpResponsePrivate::setHeader ( const QString &  field,
const QString &  value 
)

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)
void QHttpResponsePrivate::writeHeader ( const char *  field,
const QString &  value 
)

Definition at line 152 of file qhttpresponse.cpp.

References m_connection, m_finished, and QHttpConnection::write().

Referenced by writeHeaders().

void QHttpResponsePrivate::writeHeaders ( )

Member Data Documentation

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().


The documentation for this class was generated from the following file: