Deal with query items, HTTP headers, request body and more in an easy, declarative way — Theoretically, building a URLRequest in Swift is easy: let googleURL = URL(string: "https://google.com")!
var urlRequest = URLRequest(url: googleURL)
urlRequest.httpMethod = "POST" But at some point, when your requests are complex enough, it starts to get frustrating. First of all, there will be a lot of repetition — setting all the…