-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Background configuration type #204
Comments
Hi @SalvatoreAD, For post request in the background, I would recommend you to use Alamofire. Networking is not well optimized for background uploads. I tried looking into it some time ago and figured is outside of its main purpose which is to provide a simple interface to GET, PUT, POST and DELETE requests. |
Hi @3lvis I tried Alamofire, but I can not make a upload, while with this library I have succeeded. Can you explain how to use the ".background" configuration? |
This is what I used as a guide when I tried to implement this feature. https://github.com/nevyn/URLSessionTest |
The difficult part was to support resuming downloads. |
ok, How can I use this configuration in swift? Can you give me an example? |
@SalvatoreAD We don't have support for background uploads in Networking, check this project for a reference on how to implement this. https://github.com/nevyn/URLSessionTest Sorry for not being more helpful now. |
Hi, I'm trying to make POST requests in multipart in the background, but I get this error:
Can you give me an example to use background type request?
Thanks
The text was updated successfully, but these errors were encountered: