| 20 | } |
| 21 | |
| 22 | XResult Client::SendHint(const Json::Value &request) |
| 23 | { |
| 24 | Json::Value response; |
| 25 | std::string request_str = Json::writeString(json_writer_, request); |
| 26 | return GetResponse(http_client_->Post("/hint", request_str.c_str(), "application/json"), |
| 27 | response); |
| 28 | } |
| 29 | |
| 30 | XResult Client::GetResponse(const httplib::Result &res, Json::Value &response) |
| 31 | { |
nothing calls this directly
no outgoing calls
no test coverage detected