|
Concrete implementation of an HTTP Transport that uses libcurl.
#include <curl_transport.hpp>
Public Member Functions | |
CurlTransport (CurlTransportOptions const &options=CurlTransportOptions()) | |
Construct a new CurlTransport object. More... | |
std::unique_ptr< RawResponse > | Send (Request &request, Context const &context) override |
Implements 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... | |
|
inline |
options | Optional parameter to override the default options. |
|
overridevirtual |
request | an HTTP Request to be send. |
context | A context to control the request lifetime. |
Implements Azure::Core::Http::HttpTransport.