|
DeterministicESPAsyncWebServer 1.2.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
One parsed part from a multipart body. More...
#include <multipart.h>
Public Attributes | |
| const char * | name |
| Form field name from Content-Disposition, or nullptr. | |
| const char * | filename |
| Upload filename from Content-Disposition, or nullptr. | |
| const char * | type |
| Content-Type of this part, or nullptr. | |
| const char * | data |
| Part body (null-terminated in-place). | |
| size_t | data_len |
| Part body length in bytes (not counting the null). | |
One parsed part from a multipart body.
All char* fields point into the (modified) HttpReq::body[] buffer. They are null-terminated and valid until http_reset() is called.
Definition at line 40 of file multipart.h.
| const char* MultipartPart::name |
Form field name from Content-Disposition, or nullptr.
Definition at line 42 of file multipart.h.
Referenced by multipart_get_field(), and multipart_parse().
| const char* MultipartPart::filename |
Upload filename from Content-Disposition, or nullptr.
Definition at line 43 of file multipart.h.
Referenced by multipart_parse().
| const char* MultipartPart::type |
Content-Type of this part, or nullptr.
Definition at line 44 of file multipart.h.
Referenced by multipart_parse().
| const char* MultipartPart::data |
Part body (null-terminated in-place).
Definition at line 45 of file multipart.h.
Referenced by multipart_get_field(), and multipart_parse().
| size_t MultipartPart::data_len |
Part body length in bytes (not counting the null).
Definition at line 46 of file multipart.h.
Referenced by multipart_parse().