Android-cuttlefish cvd tool
Namespaces | Functions
http_json.h File Reference
#include <string>
#include <vector>
#include <json/json.h>
#include "cuttlefish/common/libs/utils/result.h"
#include "cuttlefish/host/libs/web/http_client/http_client.h"
Include dependency graph for http_json.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 

Functions

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)