mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-29 10:17:15 +02:00
MDNSResponder: Add method to get TXT key values. (#5135)
This commit is contained in:
committed by
GitHub
parent
76f0a80fe7
commit
1b2f34b0d6
@ -111,11 +111,13 @@ public:
|
||||
bool hasTxt(int idx, const char * key);
|
||||
String txt(int idx, const char * key);
|
||||
String txt(int idx, int txtIdx);
|
||||
String txtKey(int idx, int txtIdx);
|
||||
|
||||
private:
|
||||
String _hostname;
|
||||
mdns_result_t * results;
|
||||
mdns_result_t * _getResult(int idx);
|
||||
mdns_txt_item_t * _getResultTxt(int idx, int txtIdx);
|
||||
};
|
||||
|
||||
extern MDNSResponder MDNS;
|
||||
|
Reference in New Issue
Block a user