23 #ifndef _LIBS_WEBVIEW_FILE_REPLY_H_
24 #define _LIBS_WEBVIEW_FILE_REPLY_H_
26 #include <webview/reply.h>
40 virtual size_t size();
41 virtual size_t next_chunk(
size_t pos,
char *buffer,
size_t buf_max_size);
44 void determine_file_size();
49 bool close_when_done_;
Dynamic raw file transfer reply.
DynamicFileWebReply(const std::string &filename, const std::string &content_type="")
Constructor.
virtual size_t next_chunk(size_t pos, char *buffer, size_t buf_max_size)
Get data of next chunk.
virtual size_t size()
Total size of the web reply.
virtual ~DynamicFileWebReply()
Destructor.
Fawkes library namespace.