CoapOption.createUriQuery constructor

CoapOption.createUriQuery(
  1. String str
)

Creates a query option (shorthand because it's so common).

Implementation

factory CoapOption.createUriQuery(final String str) =>
    CoapOption.create(OptionType.uriQuery)..stringValue = str;