CppCMS
|
#include <cppcms/http_content_filter.h>
Public Member Functions | |
virtual void | on_data_chunk (void const *data, size_t data_size)=0 |
Public Member Functions inherited from cppcms::http::basic_content_filter | |
virtual void | on_end_of_content () |
virtual void | on_error () |
Process of any kind of generic content data.
Note: when raw_content_filter is used no content data is actually saved to request, for example request().raw_post_data() would return an empty content, so it is your responsibility to store/parse whatever content you use
|
pure virtual |
You must implement this member function to handle the data
A chunk of incoming data is avalible refered by data of size data_size
The request can be aborted by throwing abort_upload