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, String? connectSourceName, String? streamIdleSourceName})
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 the per-field winning name — what the log lines print.
no setter
connectSourceName → String?
Per-field winning entry names (issue #1554): the precedence chain resolves each field independently, so the connect and idle legs may come from DIFFERENT entries (a customProviders entry tuning only the connect leg over a models: entry tuning only the idle leg). Null falls back to sourceName.
final
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
streamIdleSourceName → String?
final

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