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

Adopt latest SPI(AsyncChannel) changes #181

Closed FranzBusch closed 1 year ago

FranzBusch commented 1 year ago

Motivation

We introduced some breaking SPI(AsyncChannel) changes in NIO that we have to adopt here.

Modification

This PR adopts the latest NIOProtocolNegotiationResult APIs. Additionally, it also drops all bind/connect methods on the bootstraps that are specific to protocol negotiation or NIOAsyncChannel.

Result

Green CI on main and alignment between NIOPosix and `NIOTS.