Swiftpack.co - Package - swift-sprinter/aws-lambda-swift-sprinter-nio-plugin


Swift 5 Swift 5.1 Build Status codecov

The project implements an HTTPS client plugin for the LambdaSwiftSprinter framework.

The plugin is based on swift-nio 2.0 and uses the third part library async-http-client

  • Allow the handler to make an HTTPS call. Swift's implementation relies on libgnutls which expects to find its root certificates in /etc/ssl/certs/ca-certificates.crt directory. That directory is absent on Amazon Linux. Currently calls to HTTPS endpoint will fail with an error : error setting certificate verify locations:\n CAfile: /etc/ssl/certs/ca-certificates.crt\n CApath: /etc/ssl/certs This library fix this issue by using swift-nio 2.


To know more have a look to this example


Contributions are more than welcome! Follow this guide to contribute.


Stars: 2

Used By

Total: 0