Android-cuttlefish cvd tool
Namespaces | Functions
http_string.cc File Reference
#include "cuttlefish/host/libs/web/http_client/http_string.h"
#include <stdlib.h>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include "cuttlefish/common/libs/utils/result.h"
#include "cuttlefish/host/libs/web/http_client/http_client.h"
Include dependency graph for http_string.cc:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{http_string.cc}
 

Functions

Result< HttpResponse< std::string > > cuttlefish::anonymous_namespace{http_string.cc}::Download (HttpClient &http_client, HttpRequest request)
 
Result< HttpResponse< std::string > > cuttlefish::HttpGetToString (HttpClient &http_client, const std::string &url, const std::vector< std::string > &headers)
 
Result< HttpResponse< std::string > > cuttlefish::HttpPostToString (HttpClient &http_client, const std::string &url, const std::string &data, const std::vector< std::string > &headers)