Function newFileUploadRequest

Synopsis

#include <lib/inc/drogon/HttpRequest.h>

static HttpRequestPtr newFileUploadRequest(const std::vector< UploadFile > &files)

Description

Create a http file upload request with: Method: Post Version: Http1.1 Content type: multipart/form-data The

Parameters:

files - represents pload files which are transferred to the server via the multipart/form-data format

Source

Line 381 in lib/inc/drogon/HttpRequest.h.






Add Discussion as Guest

Log in to DocsForge