BaseClient constructor

BaseClient([
  1. bool https = false,
  2. String host = 'localhost',
  3. String port = '8080'
])

bool https indicates if the client will make requests over http or https String host the host of the service String port the port used by the service

Implementation

BaseClient(
    [this.https = false, this.host = 'localhost', this.port = '8080']) {
  wsEndpoint = 'users';
  api = 'api';
  changeServiceConnection(https, host, port);
}