HttpClientImpl constructor
HttpClientImpl({
- HttpClientFactory clientFactory,
- StringCallback debugPrint,
- StringFilter userAgent,
Implementation
HttpClientImpl(
{this.clientFactory, StringCallback debugPrint, StringFilter userAgent})
: super(debugPrint: debugPrint) {
clientFactory ??= () => UserAgentBaseClient(
userAgent == null ? null : userAgent('HttpClientImpl'), http.Client());
}