|
Base class for all HTTP transport implementations.
#include <transport.hpp>
Public Member Functions | |
virtual std::unique_ptr< RawResponse > | Send (Request &request, Context const &context)=0 |
Send an HTTP request over the wire. More... | |
virtual | ~HttpTransport () |
Destructs HttpTransport . | |
Protected Member Functions | |
HttpTransport ()=default | |
Constructs a default instance of HttpTransport . | |
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... | |
virtual bool | HasWebSocketSupport () const |
Returns true if the HttpTransport supports WebSockets (the ability to communicate bidirectionally on the TCP connection used by the HTTP transport). | |
|
protecteddefault |
other | An instance to copy. |
|
protecteddefault |
other | An instance to move in. |
|
protecteddefault |
other | An instance to assign. |
|
pure virtual |
request | An Azure::Core::Http::Request to send. |
context | A context to control the request lifetime. |
Implemented in Azure::Core::Http::WinHttpTransport, and Azure::Core::Http::CurlTransport.