mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 09:44:12 +01:00
rollback
This commit is contained in:
parent
76ae57c19b
commit
b2702c53ed
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,8 @@ class WebServerBase : public Component {
|
||||||
std::shared_ptr<AsyncWebServer> get_server() const { return server_; }
|
std::shared_ptr<AsyncWebServer> get_server() const { return server_; }
|
||||||
float get_setup_priority() const override;
|
float get_setup_priority() const override;
|
||||||
|
|
||||||
void set_auth_username(const std::string &auth_username) { credentials_.username = auth_username; }
|
void set_auth_username(std::string auth_username) { credentials_.username = auth_username; }
|
||||||
void set_auth_password(const std::string &auth_password) { credentials_.password = auth_password; }
|
void set_auth_password(std::string auth_password) { credentials_.password = auth_password; }
|
||||||
|
|
||||||
void add_handler(AsyncWebHandler *handler);
|
void add_handler(AsyncWebHandler *handler);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue