PlaybackSequence
public enum PlaybackSequence
A type that indicates how the VCR
instance should playback the recorded HTTP interactions
from the loaded Cassette
.
-
Using the request made by the
dataTask
methods attempt to use the supplied properties to match aTrack
in theCassette
.The set of
Track
instances in aCassette
have theArray<MatchType>
applied to them if all theMatchType
constraints match for a givenTrack
that instance is assumed to match the matching constraint. If one, or more,MatchType
does not match for a givenTrack
then theTrack
is not considered a match.Parameter
Parameter matching: AnArray
ofMatchType
instances to construct a match between aTrack.Request
instance andURLRequest
instance.Declaration
Swift
case properties(matching: [MatchType])
Parameters
matching
An
Array
ofMatchType
instances to construct a match between aTrack.Request
instance andURLRequest
instance.