Function getBody

Synopsis

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

string_view getBody() const

Description

Get the content string of the request, which is the body part of the request.

Source

Lines 173-176 in lib/inc/drogon/HttpRequest.h.

string_view getBody() const
{
    return body();
}





Add Discussion as Guest

Log in to DocsForge