DioForBrowser constructor

DioForBrowser([
  1. BaseOptions? options
])

Create Dio instance with default Options. It's mostly just one Dio instance in your application.

Implementation

DioForBrowser([BaseOptions? options]) {
  this.options = options ?? BaseOptions();
  httpClientAdapter = BrowserHttpClientAdapter();
}