ESPHome  2024.11.2
Data Fields
esphome::web_server::UrlMatch Struct Reference

Internal helper struct that is used to parse incoming URLs. More...

#include <web_server.h>

Data Fields

std::string domain
 The domain of the component, for example "sensor". More...
 
std::string id
 The id of the device that's being accessed, for example "living_room_fan". More...
 
std::string method
 The method that's being called, for example "turn_on". More...
 
bool valid
 Whether this match is valid. More...
 

Detailed Description

Internal helper struct that is used to parse incoming URLs.

Definition at line 38 of file web_server.h.

Field Documentation

◆ domain

std::string esphome::web_server::UrlMatch::domain

The domain of the component, for example "sensor".

Definition at line 39 of file web_server.h.

◆ id

std::string esphome::web_server::UrlMatch::id

The id of the device that's being accessed, for example "living_room_fan".

Definition at line 40 of file web_server.h.

◆ method

std::string esphome::web_server::UrlMatch::method

The method that's being called, for example "turn_on".

Definition at line 41 of file web_server.h.

◆ valid

bool esphome::web_server::UrlMatch::valid

Whether this match is valid.

Definition at line 42 of file web_server.h.


The documentation for this struct was generated from the following file: