DockerHostRemote constructor

DockerHostRemote(
  1. String serverHost,
  2. int? serverPort, {
  3. bool secure = false,
  4. String? username,
  5. String? password,
  6. String? token,
})

Implementation

DockerHostRemote(
  this.serverHost,
  this.serverPort, {
  this.secure = false,
  this.username,
  this.password,
  this.token,
}) {
  _httpClient = HttpClient(baseURL)
    ..autoChangeAuthorizationToBearerToken('X-Access-Token')
    ..authorization = Authorization.fromProvider(_authenticate);
}