10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
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
10
namespace
tenduke
{
namespace
http
{
11
12
18
class
HTTPClient
19
{
20
public
:
21
virtual
~HTTPClient
() =
default
;
22
25
virtual
tenduke::http::HTTPRequestBuilder
request
()
const
= 0;
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
tenduke::http::HTTPClient
A simple HTTP-client.
Definition
HTTPClient.h:19
tenduke::http::HTTPClient::call
virtual std::unique_ptr< tenduke::http::HTTPCall > call(std::shared_ptr< const tenduke::http::HTTPRequest > request) const =0
Creates new HTTPCall from given HTTPRequest.
tenduke::http::HTTPClient::request
virtual tenduke::http::HTTPRequestBuilder request() const =0
Starts building request.
tenduke::http::HTTPRequestBuilder
Builds HTTPRequest.
Definition
HTTPRequestBuilder.h:23
tenduke::http
HTTP-related services.
Definition
BadRequest.h:6
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
http
HTTPClient.h
Generated by
1.17.0