httpClient property

  1. @protected
  2. @visibleForTesting
Client httpClient
inherited

An http.Client used to make an HTTP request.

This getter returns a new client every time as by default they are used once and then closed.

Implementation

@protected
@visibleForTesting
http.Client get httpClient => http.Client();