addCredentials method

  1. @override
void addCredentials(
  1. Uri url,
  2. String realm,
  3. HttpClientCredentials credentials
)
override

Add credentials to be used for authorizing HTTP requests.

Implementation

@override
void addCredentials(
    Uri url, String realm, HttpClientCredentials credentials) {
  client!.addCredentials(url, realm, credentials);
}