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 ofRequest
rather thanURLRequest
RequestFactory.build()
returns an instance ofRequest
rather thanURLRequest
- rename
Request.build()
toRequest.urlRequest()