setHttpClient static method

void setHttpClient(
  1. Client client
)

Sets a custom HTTP client (useful for testing).

Implementation

static void setHttpClient(http.Client client) {
  _httpClient = client;
}