Closed ly410726 closed 4 years ago
There currently is no way to change the default URLSession timeout property.
It should be trivial to add something like:
Request {
...
Timeout(30, for: .request)
Timeout(60, for: .resource)
}
Then we can use the URLSessionConfiguration
to change this internally. I'll work on this.
Please try out the dev branch. I've added timeout in #27
How to set the timeout