addIfNoneMatchOpaque method
void
addIfNoneMatchOpaque(
- Uint8Buffer opaque
inherited
Add an opaque if none match
Implementation
void addIfNoneMatchOpaque(final Uint8Buffer opaque) {
if (opaque.length > 8) {
throw ArgumentError.value(
opaque.length,
'Message::addIfNoneMatch',
'Content of If-None Match option is too large',
);
}
addOption(CoapOption.createRaw(OptionType.ifNoneMatch, opaque));
}