AWS SDK for C++  1.9.130
AWS SDK for C++
WinHttpSyncHttpClient.h
Go to the documentation of this file.
1 
6 #pragma once
7 
9 
12 
13 namespace Aws
14 {
15  namespace Client
16  {
17  struct ClientConfiguration;
18  } // namespace Client
19 
20  namespace Http
21  {
22 
23  class WinHttpConnectionPoolMgr;
24 
29  {
30  public:
32 
38 
42  const char* GetLogTag() const override { return "WinHttpSyncHttpClient"; }
43 
44  private:
45  // WinHttp specific implementations
46  void* OpenRequest(const std::shared_ptr<HttpRequest>& request, void* connection, const Aws::StringStream& ss) const override;
47  void DoAddHeaders(void* httpRequest, Aws::String& headerStr) const override;
48  uint64_t DoWriteData(void* httpRequest, char* streamBuffer, uint64_t bytesRead, bool isChunked) const override;
49  uint64_t FinalizeWriteData(void* hHttpRequest) const override;
50  bool DoReceiveResponse(void* httpRequest) const override;
51  bool DoQueryHeaders(void* httpRequest, std::shared_ptr<Aws::Http::HttpResponse>& response, Aws::StringStream& ss, uint64_t& read) const override;
52  bool DoSendRequest(void* httpRequest) const override;
53  bool DoReadData(void* hHttpRequest, char* body, uint64_t size, uint64_t& read) const override;
54  void* GetClientModule() const override;
55 
56  bool m_usingProxy;
57  bool m_verifySSL;
58  Aws::WString m_proxyUserName;
59  Aws::WString m_proxyPassword;
60  };
61 
62  } // namespace Http
63 } // namespace Aws
64 
Aws::DirectoryService::Model::LDAPSType::NOT_SET
@ NOT_SET
Aws::Http::WinHttpSyncHttpClient::~WinHttpSyncHttpClient
~WinHttpSyncHttpClient()
AWS_CORE_API
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
WinSyncHttpClient.h
Aws::Http::WinHttpSyncHttpClient::GetLogTag
const char * GetLogTag() const override
Definition: WinHttpSyncHttpClient.h:42
Aws::Http::WinHttpSyncHttpClient
Definition: WinHttpSyncHttpClient.h:29
Aws::Client::ClientConfiguration
Definition: ClientConfiguration.h:53
Aws::Http::WinSyncHttpClient
Definition: WinSyncHttpClient.h:32
HttpClient.h
Core_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StringStream
std::basic_stringstream< char, std::char_traits< char >, Aws::Allocator< char > > StringStream
Definition: AWSStringStream.h:35
Aws::Http::WinHttpSyncHttpClient::WinHttpSyncHttpClient
WinHttpSyncHttpClient(const Aws::Client::ClientConfiguration &clientConfig)