|
10Duke Scale C++ Client
|
#include <HTTPClient.h>
A simple HTTP-client.
The client is used to build HTTPRequest and then create new call from the request.
Public Member Functions | |
| virtual tenduke::http::HTTPRequestBuilder | request () const =0 |
| Starts building request. | |
| virtual std::unique_ptr< tenduke::http::HTTPCall > | call (std::shared_ptr< const tenduke::http::HTTPRequest > request) const =0 |
| Creates new HTTPCall from given HTTPRequest. | |
|
pure virtual |
|
pure virtual |
Starts building request.
Implemented in HTTPClientFake, and tenduke::test::fakes::HTTPClientFake.