Skip to content

Commit

Permalink
fixup! refactor: rework option system
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Oct 16, 2022
1 parent ea873d6 commit 54600f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/src/option/integer_option.dart
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ enum ObserveRegistration {
static ObserveRegistration? parse(final int value) => _registry[value];
}

/// Option for observing resources with CoAP.
///
/// Specified in [RFC 7641, section 2].
///
///
/// [RFC 7641, section 2]: https://www.rfc-editor.org/rfc/rfc7641#section-2
class ObserveOption extends IntegerOption
implements OscoreOptionClassE, OscoreOptionClassU {
ObserveOption(final int value) : super(OptionType.observe, value);
Expand Down

0 comments on commit 54600f8

Please sign in to comment.