Allows to specify HTTP Multipart requests. Useful in xxhr::POST context to perform data upload. More...
The Multipart requests can be made of many xxhr::Part which are either buffers or file. Typically a file upload service will expect a file part in it's multipart request handling.
Uploading files requires the use Multipart, with xxhr this is really simple.
Given a web server expecting a field named somefile an xxhr::File or xxhr::Buffer can be passed as in the following example.
It is possible, as it is a Multipart query to add many xxhr::File or xxhr::Buffer.