FailoverProxy constructor

FailoverProxy(
  1. List<String> urls
)

Implementation

FailoverProxy(this.urls) {
  if (urls.isEmpty) {
    throw ValidationException('At least one server URL is required');
  }
  _workingUrlIndex = 0;
}