Open baywet opened 2 years ago
https://developer.apple.com/documentation/foundation/urlsession?msclkid=8713fd77b0d411ec85808abbe4506bd1 It seems that apple already provides an HTTP client API, this would likely be the most straightforward method as it is developed by Apple and would thus require less dependencies on other API's.
The http request adapter interface needs to be implemented as a separate package for swift. We should also consider how the middleware pipeline infrastructure will work while choosing the client and make sure that client supports HTTP/2