Android-cuttlefish cvd tool
|
#include "cuttlefish/host/libs/web/http_client/http_json.h"
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include <android-base/logging.h>
#include <json/value.h>
#include "cuttlefish/common/libs/utils/json.h"
#include "cuttlefish/common/libs/utils/result.h"
#include "cuttlefish/host/libs/web/http_client/http_client.h"
#include "cuttlefish/host/libs/web/http_client/http_string.h"
Namespaces | |
namespace | cuttlefish |
namespace | cuttlefish::anonymous_namespace{http_json.cc} |
Functions | |
HttpResponse< Json::Value > | cuttlefish::anonymous_namespace{http_json.cc}::Parse (HttpResponse< std::string > response) |
Result< HttpResponse< Json::Value > > | cuttlefish::HttpPostToJson (HttpClient &http_client, const std::string &url, const std::string &data, const std::vector< std::string > &headers) |
Result< HttpResponse< Json::Value > > | cuttlefish::HttpPostToJson (HttpClient &http_client, const std::string &url, const Json::Value &data, const std::vector< std::string > &headers) |
Result< HttpResponse< Json::Value > > | cuttlefish::HttpGetToJson (HttpClient &http_client, const std::string &url, const std::vector< std::string > &headers) |