Closed jdisho closed 4 years ago
In this PR, I add support for the Combine version.
How to use:
let tn = TinyNetworking<SomeAPI>() ... tinyNetworking .requestPublisher(resource: .photos)) .sink(receiveCompletion: { _ in }) { response in let str = String(decoding: response.data, as: UTF8.self) print(str) }
In this PR, I add support for the Combine version.
How to use: