wibble 1.1
Classes | Public Member Functions | List of all members
wibble::net::http::FileParam Struct Referenceabstract

File upload parameter. More...

#include <http.h>

Inheritance diagram for wibble::net::http::FileParam:
Inheritance graph
[legend]

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.
 

Detailed Description

File upload parameter.

Constructor & Destructor Documentation

◆ ~FileParam()

wibble::net::http::FileParam::~FileParam ( )
virtual

Member Function Documentation

◆ read()

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::FileParamSingle, and wibble::net::http::FileParamMulti.


The documentation for this struct was generated from the following files: