wibble  1.1
Public Member Functions | Public Attributes | List of all members
wibble::net::http::FileParamMulti Struct Reference

Multiple file uploads with the same name. More...

#include <http.h>

Inheritance diagram for wibble::net::http::FileParamMulti:
Inheritance graph
[legend]
Collaboration diagram for wibble::net::http::FileParamMulti:
Collaboration graph
[legend]

Public Member Functions

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)
 Handle a file upload from a multipart/form-data file upload part. More...
 
- Public Member Functions inherited from wibble::net::http::FileParam
virtual ~FileParam ()
 

Public Attributes

std::vector< FileInfo > files
 

Detailed Description

Multiple file uploads with the same name.

Member Function Documentation

◆ read()

bool wibble::net::http::FileParamMulti::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 
)
virtual

Handle a file upload from a multipart/form-data file upload part.

Implements wibble::net::http::FileParam.

Member Data Documentation

◆ files

std::vector<FileInfo> wibble::net::http::FileParamMulti::files

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