Skip to main content

ClikaRT::http::FormPart

struct

Header: ClikaRT/http/server.h

One part of a multipart/form-data body (text fields and file parts). A text field has an empty filename + content_type; a file part carries both.

Data members​

name​

std::string name

form field name of this part

Declared in ClikaRT/http/server.h, line 85

filename​

std::string filename

empty ⇒ text field

Declared in ClikaRT/http/server.h, line 86

content_type​

std::string content_type

empty for text fields

Declared in ClikaRT/http/server.h, line 87

content​

std::string content

field value or raw file bytes

Declared in ClikaRT/http/server.h, line 88