ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
utils.h File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::web_server_idf
 

Functions

size_t esphome::web_server_idf::url_decode (char *str)
 Decode URL-encoded string in-place (e.g., %20 -> space, + -> space) Returns the new length of the decoded string.
 
bool esphome::web_server_idf::request_has_header (httpd_req_t *req, const char *name)
 
optional< std::string > esphome::web_server_idf::request_get_header (httpd_req_t *req, const char *name)
 
optional< std::string > esphome::web_server_idf::query_key_value (const char *query_url, size_t query_len, const char *key)
 
bool esphome::web_server_idf::query_has_key (const char *query_url, size_t query_len, const char *key)
 
bool esphome::web_server_idf::char_equals_ci (char a, char b)
 
bool esphome::web_server_idf::str_ncmp_ci (const char *s1, const char *s2, size_t n)
 
const char * esphome::web_server_idf::strcasestr_n (const char *haystack, size_t haystack_len, const char *needle)