Android-cuttlefish cvd tool
Classes | Namespaces | Enumerations | Functions
http_client.h File Reference
#include <functional>
#include <optional>
#include <string>
#include <string_view>
#include <type_traits>
#include <vector>
#include <fmt/format.h>
#include "cuttlefish/common/libs/utils/result.h"
Include dependency graph for http_client.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cuttlefish::HttpVoidResponse
 
struct  cuttlefish::HttpHeader
 
struct  cuttlefish::HttpResponse< T >
 
struct  cuttlefish::HttpRequest
 
class  cuttlefish::HttpClient
 

Namespaces

namespace  cuttlefish
 

Enumerations

enum class  cuttlefish::HttpMethod { cuttlefish::kGet , cuttlefish::kPost , cuttlefish::kDelete , cuttlefish::kHead }
 

Functions

std::optional< std::string_view > cuttlefish::HeaderValue (const std::vector< HttpHeader > &headers, std::string_view header_name)