Function setCustomContentTypeString

Synopsis

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

virtual void setCustomContentTypeString(const std::string &type)=0

Description

Set the request content-type string, The string must contain the header name and CRLF. For example, "content-type: text/plain\r\n"

Source

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






Add Discussion as Guest

Log in to DocsForge