addCredentials method Null safety

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

Add credentials to be used for authorizing HTTP requests.

Implementation

void addCredentials(Uri url, String realm, HttpClientCredentials credentials);