HttpTimeout class
An object that represents types of timeouts.
Constructors
- HttpTimeout({Duration? idle, Duration? perRequest})
-
HttpTimeout.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- idle → Duration?
-
An object that represents an idle timeout. An idle timeout bounds the amount
of time that a connection may be idle. The default value is none.
final
- perRequest → Duration?
-
An object that represents a per request timeout. The default value is 15
seconds. If you set a higher timeout, then make sure that the higher value
is set for each App Mesh resource in a conversation. For example, if a
virtual node backend uses a virtual router provider to route to another
virtual node, then the timeout should be greater than 15 seconds for the
source and destination virtual node and the route.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited