supla-device
Loading...
Searching...
No Matches
protocol_parameters.h
1// SPDX-FileCopyrightText: AC SOFTWARE SP. Z O.O.
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#ifndef SRC_SUPLA_NETWORK_HTML_PROTOCOL_PARAMETERS_H_
5#define SRC_SUPLA_NETWORK_HTML_PROTOCOL_PARAMETERS_H_
6
7#include <supla/network/html_element.h>
8
10
11namespace Supla {
12
13namespace Html {
14
16 public:
17 explicit ProtocolParameters(
18 bool addMqttParams = true, bool concurrentProtocols = true);
19 virtual ~ProtocolParameters();
20 void send(Supla::WebSender* sender) override;
21 bool handleResponse(const char* key, const char* value) override;
22
23 protected:
24 bool addMqtt = true;
25 bool concurrent = true;
26};
27
28}; // namespace Html
29}; // namespace Supla
30
31#endif // SRC_SUPLA_NETWORK_HTML_PROTOCOL_PARAMETERS_H_
Definition SuplaDevice.h:167
Definition html_element.h:22
Definition protocol_parameters.h:15
Definition web_sender.h:160