activeInnerClient property

Client get activeInnerClient

Returns active inner HTTP client or throws StateError if missing.

Implementation

http.Client get activeInnerClient {
  final client = inner;
  if (client == null) {
    throw StateError(
      'CachingHttpClient must have an inner http.Client attached before sending requests.',
    );
  }
  return client;
}