azure-core
Public Member Functions | List of all members
Azure::Core::Http::CurlTransport Class Referencefinal

Concrete implementation of an HTTP Transport that uses libcurl.

#include <curl_transport.hpp>

Inheritance diagram for Azure::Core::Http::CurlTransport:
Azure::Core::Http::HttpTransport

Public Member Functions

 CurlTransport (CurlTransportOptions const &options=CurlTransportOptions())
 Construct a new CurlTransport object. More...
 
std::unique_ptr< RawResponseSend (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...
 
HttpTransportoperator= (const HttpTransport &other)=default
 Assigns HttpTransport to another instance of HttpTransport. More...
 

Constructor & Destructor Documentation

◆ CurlTransport()

Azure::Core::Http::CurlTransport::CurlTransport ( CurlTransportOptions const &  options = CurlTransportOptions())
inline
Parameters
optionsOptional parameter to override the default options.

Member Function Documentation

◆ Send()

std::unique_ptr< RawResponse > CurlTransport::Send ( Request request,
Context const &  context 
)
overridevirtual
Parameters
requestan HTTP Request to be send.
contextA context to control the request lifetime.
Returns
unique ptr to an HTTP RawResponse.

Implements Azure::Core::Http::HttpTransport.


The documentation for this class was generated from the following files: