CoapLinkFormat class

This class provides link format definitions as specified in RFC 6690.

Constructors

CoapLinkFormat()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

cardinalRegex RegExp
Cardinal
final
equalRegex RegExp
Equal
final
quotedStringRegex RegExp
Quoted string
final
resourceNameRegex RegExp
Supporting regular expressions Resource name
final
wordRegex RegExp
Word
final

Static Methods

addAttribute(HashSet<CoapLinkAttribute> attributes, CoapLinkAttribute attrToAdd) bool
Add attribute
deserialize(String linkFormat) → CoapRemoteResource
Deserialize
parse(String linkFormat) Iterable<CoapWebLink>
Parse
parseAttribute(CoapScanner scanner) CoapLinkAttribute?
Parse attribute
serialize(CoapResource root) String
Serialize
serializeOptions(CoapEndpointResource resource, Iterable<Option<String>>? query, {required bool recursive}) String
Serialize options

Constants

attrNameValueSeparator → const String
Attribute name/value separator
delimiter → const String
The string as the delimiter between resources
Name of the attribute link
linkStart → const String
Link start marker
separator → const String
The string to separate attributes