httpClientInterceptor method

InfospectHttpClientInterceptor httpClientInterceptor({
  1. required Client client,
})

Provides an interceptor for HttpClient, which assists in logging network activities when using HttpClient.

  • client: The HttpClient instance.

Implementation

InfospectHttpClientInterceptor httpClientInterceptor(
        {required Client client}) =>
    InfospectHttpClientInterceptor(
      client: client,
      infospect: _infospect,
    );