|
fastcgi++
A C++ FastCGI/Web API
|
Holds a file uploaded from the client. More...
#include <fastcgi++/http.hpp>
Public Member Functions | |
| File (File &&x) | |
| Move constructor. More... | |
| File () | |
Public Attributes | |
| std::basic_string< charT > | filename |
| Filename. More... | |
| std::basic_string< charT > | contentType |
| Content Type. More... | |
| size_t | size |
| Size of file. More... | |
| std::unique_ptr< char[]> | data |
| File data. More... | |
Holds a file uploaded from the client.
The actual name associated with the file is omitted from the class so it can be linked in an associative container.
| charT | Type of character to use in the value string (char or wchar_t) |
|
inline |
|
inline |
| std::basic_string<charT> Fastcgipp::Http::File< charT >::contentType |
Content Type.
Definition at line 71 of file http.hpp.
Referenced by Fastcgipp::Http::Environment< charT >::parsePostsMultipart().
|
mutable |
File data.
Definition at line 77 of file http.hpp.
Referenced by Fastcgipp::Http::Environment< charT >::parsePostsMultipart(), and Fastcgipp::Http::vecToString().
| std::basic_string<charT> Fastcgipp::Http::File< charT >::filename |
Filename.
Definition at line 68 of file http.hpp.
Referenced by Fastcgipp::Http::Environment< charT >::parsePostsMultipart().
| size_t Fastcgipp::Http::File< charT >::size |
Size of file.
Definition at line 74 of file http.hpp.
Referenced by Fastcgipp::Http::Address::operator<(), and Fastcgipp::Http::Environment< charT >::parsePostsMultipart().
1.8.11