mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-13 18:56:30 +02:00
add support for TXT records in mDNS query responses (#1480)
* add methods for getting TXTs. * add methods for getting TXTs.
This commit is contained in:
@ -107,6 +107,10 @@ public:
|
||||
IPAddress IP(int idx);
|
||||
IPv6Address IPv6(int idx);
|
||||
uint16_t port(int idx);
|
||||
int numTxt(int idx);
|
||||
bool hasTxt(int idx, const char * key);
|
||||
String txt(int idx, const char * key);
|
||||
String txt(int idx, int txtIdx);
|
||||
|
||||
private:
|
||||
String _hostname;
|
||||
|
Reference in New Issue
Block a user