kaycxx-http
HTTP client library
Loading...
Searching...
No Matches
kaycxx::http::multipart_part Struct Reference

Part of a multipart/form-data request body. More...

#include <kaycxx/http/multipart_part.hpp>

Collaboration diagram for kaycxx::http::multipart_part:

Public Attributes

std::string name
 Form field name.
request_body body
 Non-owning descriptor of the part body.
std::optional< std::string > filename {}
 Optional filename reported to the server.
std::optional< std::string > content_type {}
 Optional content type overriding the default selected for the part body.
std::vector< headerheaders {}
 Additional part headers.

Detailed Description

Part of a multipart/form-data request body.

Member Data Documentation

◆ headers

std::vector<header> kaycxx::http::multipart_part::headers {}

Additional part headers.

Content-Disposition is managed by the client.


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