mDNS::Resource::TXT Class Reference
'TXT' record containing attribute list More...
#include <Resource.h>
Inheritance diagram for mDNS::Resource::TXT:
Collaboration diagram for mDNS::Resource::TXT:
Public Member Functions | |
uint8_t | count () const |
String | operator[] (uint8_t index) const |
String | operator[] (const char *name) const |
String | operator[] (const String &name) const |
String | toString (const String &sep="; ") const |
String | getValue (const char *name, uint16_t namelen) const |
String | getValue (const char *name) const |
String | getValue (const String &name) const |
void | init () |
void | add (const char *value, uint16_t len) |
void | add (const String &value) |
TXT & | operator+= (const char *value) |
TXT & | operator+= (const String &value) |
![]() | |
Record (const Answer &answer) | |
String | toString () const |
Static Public Attributes | |
static constexpr Resource::Type | type {Resource::Type::TXT} |
Additional Inherited Members | |
![]() | |
Answer & | answer |
![]() | |
uint8_t * | getRecord () const |
uint16_t | getRecordSize () const |
Detailed Description
'TXT' record containing attribute list
Originally for arbitrary human-readable text in a DNS record. Content is a set of name=value pairs. Value can be binary.
Member Function Documentation
◆ add() [1/2]
void mDNS::Resource::TXT::add | ( | const char * | value, |
uint16_t | len | ||
) |
◆ add() [2/2]
|
inline |
◆ count()
uint8_t mDNS::Resource::TXT::count | ( | ) | const |
◆ getValue() [1/3]
◆ getValue() [2/3]
|
inline |
◆ getValue() [3/3]
◆ init()
|
inline |
◆ operator+=() [1/2]
|
inline |
◆ operator+=() [2/2]
◆ operator[]() [1/3]
String mDNS::Resource::TXT::operator[] | ( | uint8_t | index | ) | const |
◆ operator[]() [2/3]
|
inline |
◆ operator[]() [3/3]
◆ toString()
Member Data Documentation
◆ type
|
static |
The documentation for this class was generated from the following file: