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

change NIOTSNetworkEvent initializers visibility to public level #148

Closed fananek closed 2 years ago

fananek commented 2 years ago

[One line description of your change] Change NIOTSNetworkEvent initializers visibility to public level.

Motivation:

[Explain here the context, and why you're making that change. What is the problem you're trying to solve.] Solves issue #147. Public initializers allow to extend unit test of async-http-client. For more details, see async-http-client #589

Modifications:

[Describe the modifications you've done.] Add public initializers for all NIOTSNetworkEvents.

Result:

[After your change, what will change.] NIOTSNetworkEvent initializers will be available across different packages.

swift-server-bot commented 2 years ago

Can one of the admins verify this patch?

swift-server-bot commented 2 years ago

Can one of the admins verify this patch?

swift-server-bot commented 2 years ago

Can one of the admins verify this patch?

swift-server-bot commented 2 years ago

Can one of the admins verify this patch?

swift-server-bot commented 2 years ago

Can one of the admins verify this patch?

swift-server-bot commented 2 years ago

Can one of the admins verify this patch?

fabianfett commented 2 years ago

@swift-server-bot test this please

Lukasa commented 2 years ago

@swift-nio-bot test this please