FetchProgress.initialising constructor

  1. @visibleForTesting
FetchProgress.initialising(
  1. FetchUrl fetch
)

Fetch is preparing to connect

Implementation

@visibleForTesting

/// Fetch is preparing to connect
FetchProgress.initialising(this.fetch)
    : progress = 0.0,
      length = 0,
      downloaded = 0,
      status = FetchStatus.initialising,
      headers = null,
      responseCode = null,
      prior = null;