Mockingjay v2.0.0 Release Notes

Release Date: 2016-11-14 // almost 5 years ago
  • 💥 Breaking

    • Responses now use a Download enum instead of an optional NSData. This means you must use the following API:

      .Success(response, .NoContent)
      .Success(response, .Content(data))
      

      Previously:

      .Success(response, nil)
      .Success(response, data)
      

    ✨ Enhancements

    • ➕ Adds support for streaming stubbed response data.

      .Success(response, .StreamContent(data, inChunksOf: 1024))