DeekWebClient constructor

DeekWebClient({
  1. DeekWebLogger? logger,
  2. bool includeCvHeader = false,
  3. String cvHeader = _defaultCvHeader,
})

Creates a new instance of the DeekWebClient that can be used to execute DeekWebRequests.

Although you may re-use DeekWebClient for many requests, the class itself is not stateful so you can recreate it on demand when you need to make requests.

You may include a logger which will be used to log information about request status.

The includeCvHeader and cvHeader properties are used to request a unique Correlation Vector be sent with every request.

Implementation

DeekWebClient(
    {DeekWebLogger? logger,
    this.includeCvHeader = false,
    this.cvHeader = _defaultCvHeader})
    : _logger = logger;