辣锅老王

Results 3 comments of 辣锅老王

Hi, I created a subclass of `Kingfisher.SessionDelegate` to gathering metrics. Here is the code: ```swift class SubSessionDelegate: Kingfisher.SessionDelegate { func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) { //...

```swift struct Account: Encodable { let email: String let password: String } struct UserInfo: Decodable { ... } struct Api: NetworkingService { func login(account: Account) -> AnyPublisher { post("/login", params:...