|
Concrete implementation of an HTTP transport that uses WinHTTP when sending and receiving requests and responses over the wire.
#include <win_http_transport.hpp>
Public Member Functions | |
WinHttpTransport (WinHttpTransportOptions const &options=WinHttpTransportOptions()) | |
Constructs WinHttpTransport . More... | |
virtual std::unique_ptr< RawResponse > | Send (Request &request, Context const &context) override |
Implements the HTTP transport interface to send an HTTP Request and produce an HTTP RawResponse. More... | |
Public Member Functions inherited from Azure::Core::Http::HttpTransport | |
virtual | ~HttpTransport () |
Destructs HttpTransport . More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Azure::Core::Http::HttpTransport | |
HttpTransport ()=default | |
Constructs a default instance of HttpTransport . More... | |
HttpTransport (const HttpTransport &other)=default | |
Constructs HttpTransport by copying another instance of HttpTransport . More... | |
HttpTransport (HttpTransport &&other)=default | |
Constructs HttpTransport by moving another instance of HttpTransport . More... | |
HttpTransport & | operator= (const HttpTransport &other)=default |
Assigns HttpTransport to another instance of HttpTransport . More... | |
WinHttpTransport::WinHttpTransport | ( | WinHttpTransportOptions const & | options = WinHttpTransportOptions() | ) |
options | Optional parameter to override the default settings. |
|
overridevirtual |
context | A context to control the request lifetime. |
request | an HTTP request to be send. |
Implements Azure::Core::Http::HttpTransport.