Track
public struct Track
The Track type encapsulates all of the data necessary to recreate an HTTP interaction for
later re-use. Typically a Track instance is stored as a set inside a Cassette.
An HTTP interaction consists of two parts, a request and a response. Like wise, a Track wraps
two other types, Track.Request and Track.Response.
-
Attempt to parse the JSON provided into a
Tracktype.Declaration
Swift
public static func decode(_ json: JSON) -> Decoded<Track>Return Value
The result of the attempted parsing.
Track Struct Reference