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
dataTaskmethods attempt to use the supplied properties to match aTrackin theCassette.The set of
Trackinstances in aCassettehave theArray<MatchType>applied to them if all theMatchTypeconstraints match for a givenTrackthat instance is assumed to match the matching constraint. If one, or more,MatchTypedoes not match for a givenTrackthen theTrackis not considered a match.Parameter
Parameter matching: AnArrayofMatchTypeinstances to construct a match between aTrack.Requestinstance andURLRequestinstance.Declaration
Swift
case properties(matching: [MatchType])Parameters
matchingAn
ArrayofMatchTypeinstances to construct a match between aTrack.Requestinstance andURLRequestinstance.
PlaybackSequence Enum Reference