onChooseHttpClient property

HttpClient Function(Uri uri) onChooseHttpClient
getter/setter pair

Chooses HTTP client that will be used for the URL.

The default callback returns defaultHttpClient.

Implementation

late HttpClient Function(Uri uri) onChooseHttpClient =
    (url) => defaultHttpClient;