Structure for multipart form fields.
More...
Structure for multipart form fields.
|
| MultipartField (std::string name, const std::string &content) |
| Construct a Multipart Field structure with a UTF-8 string encoded body.
|
|
| MultipartField (std::string name, const std::string &content, std::string filename) |
| Construct a Multipart Field structure for a file with a UTF-8 string encoded body.
|
|
| MultipartField (std::string name, std::vector< uint8_t > content) |
| Construct a Multipart Field structure with a binary blob body.
|
|
| MultipartField (std::string name, std::vector< uint8_t > content, std::string filename) |
| Construct a Multipart Field structure for a file with a binary blob body.
|
|
◆ MultipartField() [1/4]
BinaryNinja::Http::MultipartField::MultipartField |
( |
std::string | name, |
|
|
const std::string & | content ) |
|
inline |
Construct a Multipart Field structure with a UTF-8 string encoded body.
- Parameters
-
name | Name of the field to be sent in a POST request |
content | Contents of the field |
◆ MultipartField() [2/4]
BinaryNinja::Http::MultipartField::MultipartField |
( |
std::string | name, |
|
|
const std::string & | content, |
|
|
std::string | filename ) |
|
inline |
Construct a Multipart Field structure for a file with a UTF-8 string encoded body.
- Parameters
-
name | Name of the field to be sent in a POST request |
content | Contents of the field |
filename | Filename associated with the contents |
◆ MultipartField() [3/4]
BinaryNinja::Http::MultipartField::MultipartField |
( |
std::string | name, |
|
|
std::vector< uint8_t > | content ) |
|
inline |
Construct a Multipart Field structure with a binary blob body.
- Parameters
-
name | Name of the field to be sent in a POST request |
content | Contents of the field |
◆ MultipartField() [4/4]
BinaryNinja::Http::MultipartField::MultipartField |
( |
std::string | name, |
|
|
std::vector< uint8_t > | content, |
|
|
std::string | filename ) |
|
inline |
Construct a Multipart Field structure for a file with a binary blob body.
- Parameters
-
name | Name of the field to be sent in a POST request |
content | Contents of the field |
filename | Filename associated with the contents |
◆ name
std::string BinaryNinja::Http::MultipartField::name |
◆ content
std::vector<uint8_t> BinaryNinja::Http::MultipartField::content |
◆ filename
std::optional< std::string > BinaryNinja::Http::MultipartField::filename |