ESPHome 2025.8.0b1
Loading...
Searching...
No Matches
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
 
struct  DeferredEvent
 
class  MultipartReader
 

Typedefs

using String = std::string
 
using message_generator_t = std::string(esphome::web_server::WebServer *, void *)
 
using AsyncEventSourceClient = AsyncEventSourceResponse
 

Functions

bool str_startswith_case_insensitive (const std::string &str, const std::string &prefix)
 
std::string extract_header_param (const std::string &header, const std::string &param)
 
bool parse_multipart_boundary (const char *content_type, const char **boundary_start, size_t *boundary_len)
 
std::string str_trim (const std::string &str)
 
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)
 
bool str_ncmp_ci (const char *s1, const char *s2, size_t n)
 
const char * stristr (const char *haystack, const char *needle)
 
bool char_equals_ci (char a, char b)
 
struct esphome::web_server_idf::DeferredEvent __attribute__ ((packed))
 

Variables

class esphome::web_server_idf::AsyncEventSourceResponse __attribute__
 

Typedef Documentation

◆ AsyncEventSourceClient

◆ message_generator_t

Definition at line 236 of file web_server_idf.h.

◆ String

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

Definition at line 29 of file web_server_idf.h.

Function Documentation

◆ __attribute__()

struct esphome::web_server_idf::DeferredEvent esphome::web_server_idf::__attribute__ ( (packed) )

◆ char_equals_ci()

bool esphome::web_server_idf::char_equals_ci ( char a,
char b )
inline

Definition at line 17 of file utils.h.

◆ extract_header_param()

std::string esphome::web_server_idf::extract_header_param ( const std::string & header,
const std::string & param )

Definition at line 120 of file multipart.cpp.

◆ parse_multipart_boundary()

bool esphome::web_server_idf::parse_multipart_boundary ( const char * content_type,
const char ** boundary_start,
size_t * boundary_len )

Definition at line 188 of file multipart.cpp.

◆ 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 74 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 39 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 56 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 37 of file utils.cpp.

◆ str_ncmp_ci()

bool esphome::web_server_idf::str_ncmp_ci ( const char * s1,
const char * s2,
size_t n )

Definition at line 94 of file utils.cpp.

◆ str_startswith_case_insensitive()

bool esphome::web_server_idf::str_startswith_case_insensitive ( const std::string & str,
const std::string & prefix )

Definition at line 111 of file multipart.cpp.

◆ str_trim()

std::string esphome::web_server_idf::str_trim ( const std::string & str)

Definition at line 243 of file multipart.cpp.

◆ stristr()

const char * esphome::web_server_idf::stristr ( const char * haystack,
const char * needle )

Definition at line 104 of file utils.cpp.

◆ url_decode()

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

Definition at line 16 of file utils.cpp.

Variable Documentation

◆ __attribute__

class esphome::web_server_idf::AsyncEventSourceResponse esphome::web_server_idf::__attribute__