tonisuter / aws-lambda-swift

A custom AWS Lambda Runtime for Swift
138 stars 13 forks source link

Use NIOHTTPClient for making http requests instead of NSURLSession. #12

Open fabianfett opened 4 years ago

fabianfett commented 4 years ago

Hi,

I was wondering, if it would make sense to replace the current http client implementation based on URLSession and FoundationNetworking with an implementation based on

https://github.com/swift-server/async-http-client/

Andrea-Scuderi commented 4 years ago

Hi @fabianfett, thanks for your comment. I've prepared a new framework as I discovered that the async-http-client solves the issue of doing HTTPS request from the Lambda. You can find the details here: https://github.com/swift-sprinter/aws-lambda-swift-sprinter. The project it's open for collaboration.