addConnection method

void addConnection(
  1. ServerConfig serverConfig
)

Implementation

void addConnection(ServerConfig serverConfig) {
  var connection = Connection(this, serverConfig);
  _connectionPool[serverConfig.hostUrl] = connection;
}