onHttpClientCreate property

OnHttpClientCreate? onHttpClientCreate
getter/setter pair

Dio will create HttpClient when it is needed. If onHttpClientCreate is provided, Dio will call it when a HttpClient created.

Implementation

OnHttpClientCreate? onHttpClientCreate;