AdvancedOptions class
A collection of configuration options that can be used when recording and replaying requests.
Constructors
- AdvancedOptions({Censors? censors, MatchRules? matchRules, int? manualDelay, bool? simulateDelay, TimeFrame? validTimeFrame, ExpirationAction? whenExpired})
- Creates a new AdvancedOptions.
Properties
- censors → Censors
-
A collection of censor rules that will be applied to the request and response bodies.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- manualDelay → int
-
The number of milliseconds to delay before returning a response.
final
- matchRules → MatchRules
-
The rules that will be used to match requests to recorded requests.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- simulateDelay → bool
-
If true, a replayed request will be delayed by the same amount of time it took to make the original live request.
final
- validTimeFrame → TimeFrame
-
The time frame during which a request can be replayed.
final
- whenExpired → ExpirationAction
-
The action to take when a request is replayed outside of the validTimeFrame.
final
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