CoapServer constructor
CoapServer([
- CoapConfig? coapConfig
Creates a new CoapServer which can be configured using a CoapConfig.
Implementation
CoapServer([CoapConfig? coapConfig])
: port = coapConfig?.port ?? 5683,
preferredBlockSize = coapConfig?.blocksize;