Skip to content

SessionPlus 2.1.0

Compare
Choose a tag to compare
@richardpiazza richardpiazza released this 11 May 12:48
· 5 commits to main since this release
c45e400

Modifications to better support using absolute URLs.

The primary intent of the framework is to interact with JSON apis, but another very-common need is the ability to download random data or images from URLs outside of a primary API. This is what the deprecated Downloader was focused on.

The ability to interact with non-base URLs has been brought forward and integrated into the overall solution. Request now has an Address enum which determines the type of addressing that will be used. The URLSessionClient has been renamed to BaseURLSessionClient to better indicate its usage, and a AbsoluteURLSessionClient implementation is now available.