🚀 New: SwiftNIO-Based HTTP Client Support (async-http-client) #2070
dayaffe
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We’ve added first-class support for a SwiftNIO-powered HTTP client using async-http-client. This gives you an alternative client that offers tighter event-loop integration, high-performance networking, and fine-grained control when working in NIO-based applications and services. If your application runs on Vapor, Hummingbird, or other server-side Swift services consider switching to the new engine for a more consistent runtime model.
How to Enable It
You can now configure any AWS service client to use the new NIO HTTP engine:
Example reusing an event loop group with Vapor:
Try it out and let us know how it performs in your workloads!
Beta Was this translation helpful? Give feedback.
All reactions