MCPcopy Create free account
hub / github.com/XpuOS/xsched / SendHint

Method SendHint

service/common/src/client.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22XResult 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
30XResult Client::GetResponse(const httplib::Result &res, Json::Value &response)
31{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected