HttpClientFactoryOptions class
Options used by the default HTTP client factory.
Constructors
Properties
- handlerLifetime ↔ Duration
-
The lifespan of a handler instance. A zero or negative duration disables
expiration and reuses the same handler.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
httpClientActions
→ List<
HttpClientAction> -
Actions that configure the final HTTP client instance.
final
-
httpMessageHandlerBuilderActions
→ List<
HttpMessageHandlerBuilderAction> -
Actions that configure the message handler pipeline.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldRedactHeaderValue ↔ bool Function(String headerName)?
-
Gets or sets a function that determines whether to redact the HTTP header
value before logging.
getter/setter pair
- suppressDefaultLogging ↔ bool
-
Disables the default logging for HTTP requests made using clients created
by this factory.
getter/setter pair
- suppressHandlerDispose ↔ bool
-
Prevents disposal of previous handlers when rotating them.
getter/setter pair
Methods
-
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