#include <web_server_base.h>
|
| AuthMiddlewareHandler (AsyncWebHandler *next, Credentials *credentials) |
|
bool | check_auth (AsyncWebServerRequest *request) |
|
void | handleRequest (AsyncWebServerRequest *request) override |
|
void | handleUpload (AsyncWebServerRequest *request, const String &filename, size_t index, uint8_t *data, size_t len, bool final) override |
|
void | handleBody (AsyncWebServerRequest *request, uint8_t *data, size_t len, size_t index, size_t total) override |
|
Public Member Functions inherited from esphome::web_server_base::internal::MiddlewareHandler |
| MiddlewareHandler (AsyncWebHandler *next) |
|
bool | canHandle (AsyncWebServerRequest *request) override |
|
void | handleRequest (AsyncWebServerRequest *request) override |
|
void | handleUpload (AsyncWebServerRequest *request, const String &filename, size_t index, uint8_t *data, size_t len, bool final) override |
|
void | handleBody (AsyncWebServerRequest *request, uint8_t *data, size_t len, size_t index, size_t total) override |
|
bool | isRequestHandlerTrivial () override |
|
Definition at line 46 of file web_server_base.h.
◆ AuthMiddlewareHandler()
esphome::web_server_base::internal::AuthMiddlewareHandler::AuthMiddlewareHandler |
( |
AsyncWebHandler * |
next, |
|
|
Credentials * |
credentials |
|
) |
| |
|
inline |
◆ check_auth()
bool esphome::web_server_base::internal::AuthMiddlewareHandler::check_auth |
( |
AsyncWebServerRequest * |
request | ) |
|
|
inline |
◆ handleBody()
void esphome::web_server_base::internal::AuthMiddlewareHandler::handleBody |
( |
AsyncWebServerRequest * |
request, |
|
|
uint8_t * |
data, |
|
|
size_t |
len, |
|
|
size_t |
index, |
|
|
size_t |
total |
|
) |
| |
|
inlineoverride |
◆ handleRequest()
void esphome::web_server_base::internal::AuthMiddlewareHandler::handleRequest |
( |
AsyncWebServerRequest * |
request | ) |
|
|
inlineoverride |
◆ handleUpload()
void esphome::web_server_base::internal::AuthMiddlewareHandler::handleUpload |
( |
AsyncWebServerRequest * |
request, |
|
|
const String & |
filename, |
|
|
size_t |
index, |
|
|
uint8_t * |
data, |
|
|
size_t |
len, |
|
|
bool |
final |
|
) |
| |
|
inlineoverride |
◆ credentials_
Credentials* esphome::web_server_base::internal::AuthMiddlewareHandler::credentials_ |
|
protected |
The documentation for this class was generated from the following file: