CurlOptions class
Class to define additional cURL options for the log_curl_request package.
This class provides various configuration options that can be applied to cURL commands to modify their behavior, such as SSL verification, compression, verbosity, and redirect handling.
Constructors
Properties
- compressed → bool
-
Whether to use the --compressed option.
final
-
customOptions
→ List<
String> -
Additional custom cURL options.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- insecure → bool
-
Whether to use the --insecure option (skip SSL verification).
final
- location → bool
-
Whether to use the --location option (follow redirects).
final
- maxTime → int?
-
Maximum time allowed for the transfer in seconds.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verbose → bool
-
Whether to use the --verbose option.
final
Methods
-
copyWith(
{bool? insecure, bool? compressed, bool? verbose, bool? location, int? maxTime, List< String> ? customOptions}) → CurlOptions - Creates a copy of this object with the given fields replaced with the new values.
-
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