Structs

The following structs are available globally.

  • HTTP interactions are recorded into a Cassette to be replayed later by a VCR instance. A Cassette can be used to store many different HTTP interactions.

    See more

    Declaration

    Swift

    public struct Cassette
  • 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.

    See more

    Declaration

    Swift

    public struct Track