[Ndn-lib] NDN-JS deprecation warning: Interest constructor params for selectors
jefft0 at remap.ucla.edu
Sat Mar 3 02:16:25 PST 2018
Hello NDN-JS users,
The Interest constructor has a legacy form which takes values for selectors such as minSuffixComponents. In preparation for the new Interest packet format, support for these selectors in the constructor is deprecated and will be removed in a future version. Instead, use “setter” methods such as setMinSuffixComponents().
There are now three forms of the constructor: The default constructor Interest(), the copy constructor Interest(interest), and a constructor which takes a name Interest(name) .
- Jeff T
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-lib