mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
remove aliases
This commit is contained in:
@@ -139,13 +139,10 @@ class Command {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
using KeyValueMap_t = std::unordered_map<std::string, std::string>;
|
|
||||||
using Folder_t = std::vector<std::string>;
|
|
||||||
|
|
||||||
class SUrlParser {
|
class SUrlParser {
|
||||||
private:
|
private:
|
||||||
KeyValueMap_t m_keysvalues;
|
std::unordered_map<std::string, std::string> m_keysvalues;
|
||||||
Folder_t m_folders;
|
std::vector<std::string> m_folders;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SUrlParser() = default;
|
SUrlParser() = default;
|
||||||
@@ -153,11 +150,11 @@ class SUrlParser {
|
|||||||
|
|
||||||
bool parse(const char * url);
|
bool parse(const char * url);
|
||||||
|
|
||||||
Folder_t & paths() {
|
std::vector<std::string> & paths() {
|
||||||
return m_folders;
|
return m_folders;
|
||||||
};
|
};
|
||||||
|
|
||||||
KeyValueMap_t & params() {
|
std::unordered_map<std::string, std::string> & params() {
|
||||||
return m_keysvalues;
|
return m_keysvalues;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user