CoapClientFactory constructor

CoapClientFactory({
  1. CoapConfig? coapConfig,
  2. ClientPskCallback? pskCredentialsCallback,
  3. AceSecurityCallback? aceSecurityCallback,
})

Creates a new CoapClientFactory based on an optional CoapConfig.

Implementation

CoapClientFactory({
  this.coapConfig,
  ClientPskCallback? pskCredentialsCallback,
  AceSecurityCallback? aceSecurityCallback,
})  : _pskCredentialsCallback = pskCredentialsCallback,
      _aceSecurityCallback = aceSecurityCallback;