Skip to content

Synchronous requests and more

Compare
Choose a tag to compare
@henrik-dmg henrik-dmg released this 11 Mar 14:58

This release brings a couple new features and changes:

  • you can schedule requests synchronously by calling scheduleSynchronously(... on a Network instance or directly on your request instance. This will return the result of the request directly instead of a NetworkTask
  • the order of arguments for URLBuilder query items has been changed to match that of URLQueryItem
  • you can now opt out of the JSON injection for DecodableRequest by providing injectJSONOnError: Bool