Protocols::Http::File Class Reference

#include <ClientHttpSession.h> [code]

Inherited by MemoryFile, and MemoryFile.

Inheritance diagram for Protocols::Http::File:

Inheritance graph
[legend]
List of all members.

Detailed Description

Todo:
Rename to SeekableBuffer? A simple Buffer would do if we only request a single range. In that case we could assume that the user will have seeked the buffer correctly. However, if we want to support multiple ranges, then it will be better to be able to do the seeking. It could be possible to have two overloads - one taking a Buffer and one taking a SeekableBuffer. A third possibility would be to have the implementation try a cast to SeekableBuffer in case a partial entity is returned.

Definition at line 40 of file ClientHttpSession.h.

Public Member Functions

virtual ~File ()
virtual bool write (const QByteArray &, bool flush=true)=0


Constructor & Destructor Documentation

virtual Protocols::Http::File::~File  )  [inline, virtual]
 

Definition at line 45 of file ClientHttpSession.h.


Member Function Documentation

virtual bool Protocols::Http::File::write const QByteArray &  ,
bool  flush = true
[pure virtual]
 

Implemented in MemoryFile, and MemoryFile.


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