24#ifndef DETERMINISTICESPASYNCWEBSERVER_MULTIPART_H
25#define DETERMINISTICESPASYNCWEBSERVER_MULTIPART_H
User-facing configuration for DeterministicESPAsyncWebServer.
#define MAX_MULTIPART_PARTS
Maximum simultaneously parsed multipart parts per request.
const char * multipart_get_field(const Multipart *mp, const char *field)
Look up a field value across all parsed parts by name.
bool multipart_parse(HttpReq *req, Multipart *mp)
Parse the body of req as multipart/form-data.
Layer 6 (Presentation) — wires the transport ring buffer to the HTTP parser.
Fully-parsed HTTP/1.1 request.
One parsed part from a multipart body.
const char * data
Part body (null-terminated in-place).
const char * type
Content-Type of this part, or nullptr.
size_t data_len
Part body length in bytes (not counting the null).
const char * name
Form field name from Content-Disposition, or nullptr.
const char * filename
Upload filename from Content-Disposition, or nullptr.
Container for all parsed parts of a multipart body.
MultipartPart parts[MAX_MULTIPART_PARTS]
Parsed parts.
int part_count
Number of valid entries in parts[].