libcurl wrapper for Swift
Each request runs in total isolation.
let req = CURL( method: "GET", url: "https://httpbin.org/get" ) let res = try req.perform()
Allow multiple requests to share cookies, dns cache, ssl session, and other goodies.
let share = CURLSH() let res = try share.perform(curl: req)
🏛 Design choices
- The url string passed in will not be escaped, handle it at the call-site.