7 namespace http_request {
12 TEMPLATABLE_VALUE(std::string, md5_url)
13 TEMPLATABLE_VALUE(std::string, md5)
14 TEMPLATABLE_VALUE(std::string, password)
15 TEMPLATABLE_VALUE(std::string, url)
16 TEMPLATABLE_VALUE(std::string, username)
18 void play(Ts...
x)
override {
19 if (this->md5_url_.has_value()) {
20 this->parent_->set_md5_url(this->md5_url_.value(
x...));
22 if (this->md5_.has_value()) {
23 this->parent_->set_md5(this->md5_.value(
x...));
25 if (this->password_.has_value()) {
26 this->parent_->set_password(this->password_.value(
x...));
28 if (this->username_.has_value()) {
29 this->parent_->set_username(this->username_.value(
x...));
31 this->parent_->set_url(this->url_.value(
x...));
33 this->parent_->flash();
OtaHttpRequestComponentFlashAction(OtaHttpRequestComponent *parent)
Implementation of SPI Controller mode.
virtual void play(Ts... x)=0