2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
41#ifndef WEB_HTTP_CLIENT_REQUESTCOMMAND_H
42#define WEB_HTTP_CLIENT_REQUESTCOMMAND_H
44namespace web::http::client {
50#ifndef DOXYGEN_SHOULD_SKIP_THIS
58namespace web::http::client {
63 const std::function<
void(
const std::shared_ptr<
Request>&,
const std::string&)>& onResponseParseError);
RequestCommand & operator=(const RequestCommand &)=delete
virtual ~RequestCommand()
RequestCommand & operator=(RequestCommand &&) noexcept=delete
RequestCommand(const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &onResponseReceived, const std::function< void(const std::shared_ptr< Request > &, const std::string &)> &onResponseParseError)
virtual bool execute(const std::shared_ptr< MasterRequest > &request)=0
RequestCommand(const RequestCommand &)=delete
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> onResponseReceived
const std::function< void(const std::shared_ptr< Request > &, const std::string &)> onResponseParseError
RequestCommand(RequestCommand &&) noexcept=delete
bool execute(const std::shared_ptr< MasterRequest > &request) override
~EndCommand() override=default
EndCommand(const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &onResponseReceived, const std::function< void(const std::shared_ptr< Request > &, const std::string &)> &onResponseParseError)