carson-katri / swift-request

Declarative HTTP networking, designed for SwiftUI
MIT License
727 stars 41 forks source link

Add Request.onStatusCode handler #56

Closed vakechu closed 3 years ago

vakechu commented 3 years ago

Some APIs have only status code as return value. So it will be useful to check HTTP status on demand