wibble
0.1.28
|
File upload parameter. More...
#include <http.h>
Classes | |
struct | FileInfo |
Infomation about one uploaded file. More... | |
Public Member Functions | |
virtual | ~FileParam () |
virtual bool | read (net::mime::Reader &mime_reader, std::map< std::string, std::string > headers, const std::string &outdir, const std::string &fname_blacklist, const std::string &client_fname, int sock, const std::string &boundary, size_t inputsize)=0 |
Handle a file upload from a multipart/form-data file upload part. |
File upload parameter.
wibble::net::http::FileParam::~FileParam | ( | ) | [virtual] |
virtual bool wibble::net::http::FileParam::read | ( | net::mime::Reader & | mime_reader, |
std::map< std::string, std::string > | headers, | ||
const std::string & | outdir, | ||
const std::string & | fname_blacklist, | ||
const std::string & | client_fname, | ||
int | sock, | ||
const std::string & | boundary, | ||
size_t | inputsize | ||
) | [pure virtual] |
Handle a file upload from a multipart/form-data file upload part.
Implemented in wibble::net::http::FileParamMulti, and wibble::net::http::FileParamSingle.
Referenced by wibble::net::http::Params::parse_multipart().