One part of the multipart message. More...
#include <multipart_view.h>
Public Member Functions | |
operator int () const | |
Returns body as integer. | |
operator double () const | |
Returns body as double. | |
const header_view & | get_header_object (const std::string_view key) const |
Public Attributes | |
mph_view_map | headers |
(optional) The first part before the data, Contains information regarding the type of data and encoding | |
std::string_view | body |
The actual data in the part. | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const part_view &part) |
One part of the multipart message.
It is usually separated from other sections by a boundary