Function setBody

Summary

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

(1) virtual void setBody(const std::string &body)=0

(2) virtual void setBody(std::string &&body)=0

Function overload

Synopsis

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

virtual void setBody(const std::string &body)=0

Description

Set the content string of the request.

Source

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

Synopsis

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

virtual void setBody(std::string &&body)=0

Description

Set the content string of the request.

Source

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






Add Discussion as Guest

Log in