ESPHome  2024.12.2
Data Structures | Typedefs | Functions
esphome::web_server_idf Namespace Reference

Data Structures

class  AsyncEventSource
 
class  AsyncEventSourceResponse
 
class  AsyncResponseStream
 
class  AsyncWebHandler
 
class  AsyncWebParameter
 
class  AsyncWebServer
 
class  AsyncWebServerRequest
 
class  AsyncWebServerResponse
 
class  AsyncWebServerResponseContent
 
class  AsyncWebServerResponseEmpty
 
class  AsyncWebServerResponseProgmem
 
class  DefaultHeaders
 

Typedefs

using String = std::string
 
using AsyncEventSourceClient = AsyncEventSourceResponse
 

Functions

void url_decode (char *str)
 
bool request_has_header (httpd_req_t *req, const char *name)
 
optional< std::string > request_get_header (httpd_req_t *req, const char *name)
 
optional< std::string > request_get_url_query (httpd_req_t *req)
 
optional< std::string > query_key_value (const std::string &query_url, const std::string &key)
 

Typedef Documentation

◆ AsyncEventSourceClient

Definition at line 233 of file web_server_idf.h.

◆ String

using esphome::web_server_idf::String = typedef std::string

Definition at line 19 of file web_server_idf.h.

Function Documentation

◆ query_key_value()

optional< std::string > esphome::web_server_idf::query_key_value ( const std::string &  query_url,
const std::string &  key 
)

Definition at line 72 of file utils.cpp.

◆ request_get_header()

optional< std::string > esphome::web_server_idf::request_get_header ( httpd_req_t *  req,
const char *  name 
)

Definition at line 37 of file utils.cpp.

◆ request_get_url_query()

optional< std::string > esphome::web_server_idf::request_get_url_query ( httpd_req_t *  req)

Definition at line 54 of file utils.cpp.

◆ request_has_header()

bool esphome::web_server_idf::request_has_header ( httpd_req_t *  req,
const char *  name 
)

Definition at line 35 of file utils.cpp.

◆ url_decode()

void esphome::web_server_idf::url_decode ( char *  str)

Definition at line 14 of file utils.cpp.