userver: userver/clients/http/request.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
request.hpp File Reference

Class for creating and performing new http requests. More...

#include <memory>
#include <string_view>
#include <vector>
#include <userver/clients/dns/resolver_fwd.hpp>
#include <userver/clients/http/error.hpp>
#include <userver/clients/http/plugin.hpp>
#include <userver/clients/http/response.hpp>
#include <userver/clients/http/response_future.hpp>
#include <userver/concurrent/queue.hpp>
#include <userver/crypto/certificate.hpp>
#include <userver/crypto/private_key.hpp>
#include <userver/utils/impl/source_location.hpp>
+ Include dependency graph for request.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clients::http::Request
 Class for creating and performing new http requests. More...
 

Namespaces

namespace  tracing
 Opentracing support.
 
namespace  server::http
 Server parts of the HTTP protocol implementation.
 
namespace  clients::http
 HTTP client helpers.
 

Enumerations

enum class  clients::http::HttpMethod {
  kGet ,
  kPost ,
  kHead ,
  kPut ,
  kDelete ,
  kPatch ,
  kOptions
}
 HTTP request method. More...
 
enum class  clients::http::HttpVersion {
  clients::http::kDefault ,
  clients::http::k10 ,
  clients::http::k11 ,
  clients::http::k2 ,
  clients::http::k2Tls ,
  clients::http::k2PriorKnowledge
}
 HTTP version to use. More...
 
enum class  clients::http::HttpAuthType {
  clients::http::kBasic ,
  clients::http::kDigest ,
  clients::http::kDigestIE ,
  clients::http::kNegotiate ,
  clients::http::kNtlm ,
  clients::http::kNtlmWb ,
  clients::http::kAny ,
  clients::http::kAnySafe
}
 
enum class  clients::http::ProxyAuthType {
  clients::http::kBasic ,
  clients::http::kDigest ,
  clients::http::kDigestIE ,
  clients::http::kBearer ,
  clients::http::kNegotiate ,
  clients::http::kNtlm ,
  clients::http::kNtlmWb ,
  clients::http::kAny ,
  clients::http::kAnySafe
}
 

Functions

std::string_view clients::http::ToStringView (HttpMethod method)
 
ProxyAuthType clients::http::ProxyAuthTypeFromString (const std::string &auth_name)
 

Detailed Description

Class for creating and performing new http requests.

Definition in file request.hpp.