Cutelyst  2.5.0
Static Public Member Functions | List of all members
Cutelyst::MultiPartFormDataParser Class Reference

Static Public Member Functions

static Uploads parse (QIODevice *body, const QString &contentType, int bufferSize=4096)
 Parser for multipart/formdata. More...

Detailed Description

Definition at line 26 of file multipartformdataparser.h.

Member Function Documentation

◆ parse()

Uploads MultiPartFormDataParser::parse ( QIODevice *  body,
const QString &  contentType,
int  bufferSize = 4096 
contentTypecan be the whole HTTP Content-Type header or just it's value
bufferSizeis the internal buffer size used to parse

Definition at line 24 of file multipartformdataparser.cpp.

References Cutelyst::Headers::setHeader().

Referenced by Cutelyst::Request::engine().