Classes

The following classes are available globally.

  • StubResponse is the base response to simulate URLResponses. It defines the HTTP Status code, the Responder Header and Body. It can also define a delay in seconds, simulating delayed server responses.

    See more

    Declaration

    Swift

    open class StubResponse
  • Defines the main Stub Server object. It can be subclassed to provide various other types of local server.

    See more

    Declaration

    Swift

    public class StubServer