Function newHttpJsonRequest

Synopsis

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

static HttpRequestPtr newHttpJsonRequest(const Json::Value &data)

Description

Create a http request with: Method: Get Version: Http1.1 Content type: application/json, the

Parameters:

data - is serialized into the content of the request.

Source

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






Add Discussion as Guest

Log in to DocsForge