Skip to content

2.7.0

Latest
Compare
Choose a tag to compare
@Aldo10012 Aldo10012 released this 26 Jan 04:33
· 62 commits to main since this release
b30a662

What's new?

Remove AsyncRequestPerformer and RequestPerformer .perform() methods that take a URLRequest as argument, instead enforcing users to inject an object conforming to the Request protocol.

Reasoning for this is to enforce Protocol Oriented Design

Other changes:

  • RequestBuilder.build() returns an instance of Request rather than URLRequest
  • RequestFactory.build() returns an instance of Request rather than URLRequest
  • rename Request.build() to Request.urlRequest()