Motivation: The expectation is that server channels use Channel as their data type, but the initial data type in NIOTSListenerChannel was actually NWConnection. This is unnecessary and it makes it hard to interop between NIOTS and NIO. Modifications: - Initialize the NIOTSConnectionChannel in the NIOTSListenerChannel instead of in AcceptHandler. - Added some missing @available annotations in the tests. Result: More consistency |
||
|---|---|---|
| .. | ||
| NIOTransportServicesTests | ||