-
## Reproduction
* Configure the URLSession in the example application to a very low timeout
```swift
lazy var urlSession: URLSession = {
var configuration = URLSessionConfiguration.d…
-
Really loved the [blog post](https://matteomanferdini.com/swift-urlsession/), however there's actually a gotcha in this approach using continuations.
```
func urlSession(_ session: URLSession, dow…
-
Using a custom `URLProtocol` subclass to intercept HTTP(S) traffic surely results in being a good citizen, but, as a way to debug apps, it comes with disadvantages:
1. First of all, the architectur…
-
### Description
I noticed that my app's network requests were not showing up at all in Performance Monitoring. I traced the issue to the fact that I am using `URLSession`'s concurrency (async/await…
-
Using Swift version 5.8 and swift-corelibs-foundation, this code:
```swift
let url = URL(string: "https://www.example.com")!
let (data, response) = try await URLSession.shared.data(from: url)
``…
-
2017-12-18 15:27:36.229841+0800 URLSession[16223:3615471] 下载完成/var/mobile/Containers/Data/Application/8D566245-BD1F-4C2B-B50E-08FD5CBD3EFF/Documents/file.mp4
2017-12-18 15:27:36.231187+0800 URLSessio…
mrhyh updated
5 years ago
-
"@candlefinance/faster-image": "1.6.2"
on iOS 17 (both device and simulator), calling `clearCache()` seems to only partially work. I don't see a pattern, but some (most?) of the sources do indeed …
-
MoyaPublisher shouldn't create a network request if it receives a request demand larger then .none. It should do that only if no previous demand greater than .none was received.
```
func …
-
using proximan with Atlantis some request succeeded or fail but the body is empty.
https://api-qa.bagelbrands.com/payment/v1/hostedPages
-
#1. Crashed: NSOperationQueue 0x1c002f980 (QOS: UNSPECIFIED)
0 libswiftCore.dylib 0x1064bab50 _hidden#25718_ (__hidden#25744_:608)
1 Just 0x105a5982c speciali…