client-cpp  0.10.0
kaa::IHttpClient Class Referenceabstract

#include <IHttpClient.hpp>

+ Inheritance diagram for kaa::IHttpClient:

Public Member Functions

virtual std::shared_ptr
< IHttpResponse
sendRequest (const IHttpRequest &request, EndpointConnectionInfo *connection)=0
 
virtual void closeConnection ()=0
 
virtual ~IHttpClient ()=default
 

Detailed Description

Definition at line 30 of file IHttpClient.hpp.

Constructor & Destructor Documentation

virtual kaa::IHttpClient::~IHttpClient ( )
virtualdefault

Member Function Documentation

virtual void kaa::IHttpClient::closeConnection ( )
pure virtual

Close HTTP connection.

Implemented in kaa::HttpClient.

virtual std::shared_ptr<IHttpResponse> kaa::IHttpClient::sendRequest ( const IHttpRequest request,
EndpointConnectionInfo connection 
)
pure virtual

Send HTTP request.

Parameters
[in]requestthe http request which will be sent.
[in]connectionthe structure which is filled in case of successful connection establishment.
Returns
response to the request.

Implemented in kaa::HttpClient.


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