MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / GETJson

Method GETJson

dependencies/hueplusplus-1.0.0/src/BaseHttpHandler.cpp:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97nlohmann::json BaseHttpHandler::GETJson(
98 const std::string& uri, const nlohmann::json& body, const std::string& adr, int port) const
99{
100 return nlohmann::json::parse(GETString(uri, "application/json", body.dump(), adr, port));
101}
102
103nlohmann::json BaseHttpHandler::POSTJson(
104 const std::string& uri, const nlohmann::json& body, const std::string& adr, int port) const

Callers 2

TESTFunction · 0.80
GETRequestMethod · 0.80

Calls 2

parseFunction · 0.50
dumpMethod · 0.45

Tested by 1

TESTFunction · 0.64