FetchlyConfig class
Configuration class for Fetchly HTTP client.
This class holds configuration settings for the Fetchly HTTP client, such as connectTimeout duration and print limit.
Constructors
Properties
- connectTimeout → int
-
Timeout duration for HTTP requests, in seconds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerLimit → int
-
Limit for printing HTTP headers.
final
- printLimit → int
-
Limit for printing HTTP response bodies.
final
- receiveTimeout → int
-
Limit for printing HTTP response bodies.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showHeader → bool
-
Flag indicating whether to show HTTP headers in logs.
final
Methods
-
copyWith(
{int? connectTimeout, int? receiveTimeout, int? printLimit, int? headerLimit, bool? showHeader}) → FetchlyConfig - Creates a new instance of FetchlyConfig by copying the current instance and replacing specified values with new ones.
-
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