Crow  1.1
A C++ microframework for the web
crow::multipart::part_view Struct Reference

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_viewget_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)
 

Detailed Description

One part of the multipart message.

It is usually separated from other sections by a boundary


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