From: Thomas Markwalder Date: Fri, 26 Mar 2021 19:08:46 +0000 (-0400) Subject: [#1741] Removed undefined function from in http/response.h X-Git-Tag: Kea-1.9.6~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96785498dd096239f424db0c8e2e941306aac24c;p=thirdparty%2Fkea.git [#1741] Removed undefined function from in http/response.h src/lib/http/response.h HttpResponse::getBodyAsJson() - unnecessary, removed it --- diff --git a/src/lib/http/response.h b/src/lib/http/response.h index 921af82367..e25cd3ac74 100644 --- a/src/lib/http/response.h +++ b/src/lib/http/response.h @@ -158,12 +158,6 @@ public: /// @brief Returns HTTP response body as string. virtual std::string getBody() const; - /// @brief Retrieves JSON body. - /// - /// @return Pointer to the root element of the JSON structure. - /// @throw HttpResponseJsonError if an error occurred. - data::ConstElementPtr getBodyAsJson() const; - /// @brief Retrieves a single JSON element. /// /// The element must be at top level of the JSON structure.