10Duke Scale C++ Client
All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
HTTPClient.h
1#ifndef TENDUKE_HTTP_HTTPCLIENT_H
2#define TENDUKE_HTTP_HTTPCLIENT_H
3
4#include "./HTTPCall.h"
5#include "./HTTPRequest.h"
6#include "./HTTPRequestBuilder.h"
7
8#include <memory>
9
10namespace tenduke { namespace http {
11
12
19{
20public:
21 virtual ~HTTPClient() = default;
22
26
32 virtual std::unique_ptr<tenduke::http::HTTPCall> call(std::shared_ptr<const tenduke::http::HTTPRequest> request) const = 0;
33};
34
35
36}}
37
38#endif // TENDUKE_HTTP_HTTPCLIENT_H
A simple HTTP-client.
Definition HTTPClient.h:19
virtual std::unique_ptr< tenduke::http::HTTPCall > call(std::shared_ptr< const tenduke::http::HTTPRequest > request) const =0
Creates new HTTPCall from given HTTPRequest.
virtual tenduke::http::HTTPRequestBuilder request() const =0
Starts building request.
Builds HTTPRequest.
Definition HTTPRequestBuilder.h:22
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7