apple / swift-nio-transport-services

Extensions for SwiftNIO to support Apple platforms as first-class citizens.
https://swiftpackageindex.com/apple/swift-nio-transport-services/main/documentation/niotransportservices
Apache License 2.0
282 stars 71 forks source link

Async methods for `NIOTSListenerBootstrap` and `NIOTSConnectionBootstrap` #178

Closed FranzBusch closed 1 year ago

FranzBusch commented 1 year ago

Motivation

We want to support async bootstrapping with all our bootstraps.

Modification

This PR adds support for the NIOTSListenerBootstrap and NIOTSConnectionBootstrap. It also adds the three variants of methods to it (abstract output, NIOAsyncChannel based and protocol negotiation based)

Result

We now support asynchronous interaction with the NIOTSListenerBootstrap and NIOTSConnectionBootstrap

Lukasa commented 1 year ago

@swift-server-bot add to allowlist