To include ACNetwork into a SPM package, add it to the
dependencies attribute defined in your
Package.swift file. You can select the version using the
version parameter. For example:
dependencies: [ .package(url: "https://github.com/AppCraftTeam/ACNetwork.git", from: <version>) ]
|Last commit: 1 week ago|
Execute method — The execute method now returns the UUID of the request, which can be used to pinpoint a specific request. It can be used later to cancel a network operation — The execute method does not convert the received data from JSON to the response model, but returns the data received from the server in raw form (the mapper itself is placed in the ACUseCase library).