HttpClientDefault class

A default implementation of the HttpClientBuilder abstract class.

This class provides a concrete implementation of the create method, which simply returns a new instance of HttpClient with default settings. It can be used wherever a basic HTTP client is needed without any custom configuration.

Example usage:

final clientBuilder = HttpClientDefault();
final httpClient = clientBuilder.create();
Inheritance

Constructors

HttpClientDefault.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create() HttpClient
Creates and returns a new HttpClient instance with default configuration.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited