Skip to content

Added Download / Upload Support #2

Description

@biocross

Currently, Swifty only supports URLSessionDataTask, using the .load() methods on NetworkResource. Added support for downloading files using URLSessionDownloadTask, or uploading files, using URLSessionUploadTask would be great!

A simple way to get started on this issue is to add a new property to NetworkResource, which tell it what kind of task it is (Upload/Download/Data), and then add support in SwifyNetworkTask to create the appropriate task. Then a new .download() / .upload() method can be added to the NetworkResource Loader Extensions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions