Http::BodyReader Class Reference
#include <BodyReader.h> [code]
Inherits QObject.
Inheritance diagram for Http::BodyReader:
[legend]Collaboration diagram for Http::BodyReader:
[legend]List of all members.
Detailed Description
Reads HTTP formatted file data from a Connection.
Supports raw transfers, as well as chuncked transfers.
- Todo:
- What about MIME?
Read the body bytes and write them in q QIODevice, or better create a Body class and write data into it. That would be better to support multipart bodies. For example when reading multipart/ranges from a file for download. Alternatively, we might use a different reader for handling multipart messages.
Definition at line 42 of file BodyReader.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
| Http::BodyReader::BodyReader |
( |
const BodyReader & |
|
) |
[private] |
|
| BodyReader::BodyReader |
( |
Connection * |
connection |
) |
|
|
| BodyReader::~BodyReader |
( |
|
) |
|
|
Member Function Documentation
| void Http::BodyReader::bodyRead |
( |
|
) |
[signal] |
|
| void Http::BodyReader::readError |
( |
|
) |
[signal] |
|
| void BodyReader::readyRead |
( |
|
) |
[private, slot] |
|
| void BodyReader::startReading |
( |
QIODevice * |
file, |
|
|
qint64 |
bodySize |
|
) |
|
|
| void Http::BodyReader::writeError |
( |
|
) |
[signal] |
|
Member Data Documentation
The documentation for this class was generated from the following files: