]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1741] Removed undefined function from in http/response.h
authorThomas Markwalder <tmark@isc.org>
Fri, 26 Mar 2021 19:08:46 +0000 (15:08 -0400)
committerTomek Mrugalski <tomek@isc.org>
Sun, 28 Mar 2021 09:52:23 +0000 (09:52 +0000)
src/lib/http/response.h
    HttpResponse::getBodyAsJson() - unnecessary, removed it

src/lib/http/response.h

index 921af82367dacd6c55b0aaa1c344fb8d29cb3ed9..e25cd3ac74695b0af3975275918096feb865ecd4 100644 (file)
@@ -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.