PayloadBudget class
Shared payload byte budget of every adapter in a session: a rolling window so a long session keeps recording recent traffic.
Constructors
- PayloadBudget(InteractionLimits limits)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- limits ↔ InteractionLimits
-
getter/setter pair
- 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
-
spend(
int now, int bytes) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited