Type in the NIOTSNetworkEvents namespace are all public, but users can’t construct them as the initialisers aren’t public. That’s an unnecessary limitation, and it blocks certain kinds of unit testing. We should therefore add publicinits to all types in the NIOTSNetworkEvents namespace.
Type in the
NIOTSNetworkEvents
namespace are all public, but users can’t construct them as the initialisers aren’t public. That’s an unnecessary limitation, and it blocks certain kinds of unit testing. We should therefore addpublic
init
s to all types in theNIOTSNetworkEvents
namespace.Blocks https://github.com/swift-server/async-http-client/issues/589