ResolvedProviderTimeouts class final
One resolved timeout pair for a request: the effective durations plus where each came from (describeProviderTimeouts renders them).
Constructors
- ResolvedProviderTimeouts({required Duration connect, required Duration streamIdle, required ProviderTimeoutSource connectSource, required ProviderTimeoutSource streamIdleSource, required String? sourceName})
-
const
Properties
- connect → Duration
-
The effective connect/first-headers watchdog for the request.
final
- connectSource → ProviderTimeoutSource
-
Where each value resolved from.
final
- connectSourceLabel → String
-
The rendered source labels (
default/global/provider:<name>), pre-applied with sourceName — what the log lines print.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceName → String?
-
The winning registry entry's name (null for global/default sources).
final
- streamIdle → Duration
-
The effective stream-idle watchdog for the request.
final
- streamIdleSource → ProviderTimeoutSource
-
final
- streamIdleSourceLabel → String
-
no setter
Methods
-
describe(
) → String -
One log line:
connect 180s (default), idle 1.5s (provider:glm-relay). -
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