What's New
- Improved Combine support (#34)
Request is now a Publisher. This lets you use Combine operators on your Request:
Request {
Url("https://jsonplaceholder.typicode.com/todos")
}
.map(\.data)
.decode([Todo].self, decoder: JSONDecoder())
.sink(receiveCompletion: { ... }, receiveValue: { ... })
There are also properties for objectPublisher, `stringPublishe...