ESPHome  2022.6.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 17 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 18 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 19 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 20 of file web_server.h.

◆ valid

bool esphome::web_server::UrlMatch::valid

Whether this match is valid.

Definition at line 21 of file web_server.h.


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