swift-nio-transport-services/Sources/NIOTransportServices
Gus Cairo d8443227d1
Change naming of datagram-related types to make them more consistent + fix docs (#233)
### Motivation:

The datagram-related types logically mirror the TCP-based ones
(`NIOTSDatagramListenerBootstrap` vs `NIOTSListenerBootstrap`;
`NIOTSListenerChannel` vs `NIOTSDatagramListenerChannel`;
`NIOTSDatagramChannel` vs `NIOTSDatagramConnectionChannel`;
`NIOTSDatagramBootstrap` vs `NIOTSConnectionBootstrap`).
However, some of the type names could more closely resemble their TCP
counterparts to make it easier to navigate the code/understand what
their purpose is.
Additionally, the docs for some of these types are wrong, as they've
been copy-pasted into the datagram versions without changes.

### Modifications:

There are separate commits for each of the following changes:
- Fix docs for `NIOTSDatagramListenerBootstrap` and rename the file to
match the type name.
- Rename `NIOTSDatagramConnectionChannelTests` to
`NIOTSDatagramBootstrapTests` (to match `NIOTSBootstrapTests`).
- Rename `NIOTSDatagramChannel` to `NIOTSDatagramConnectionChannel` (to
match `NIOTSConnectionChannel`)
- Fix docs for `NIOTSConnectionBootstrap`.
- Rename `NIOTSDatagramBootstrap` to `NIOTSDatagramConnectionBootstrap`
(to match `NIOTSConnectionBootstrap`). This one required a deprecate and
replace since it's a public type.

### Result:

Better docs and more consistency in our type names.
2025-04-29 13:56:21 +01:00
..
Datagram Change naming of datagram-related types to make them more consistent + fix docs (#233) 2025-04-29 13:56:21 +01:00
Docs.docc
AcceptHandler.swift
NIOFilterEmptyWritesHandler.swift
NIOTSBootstraps.swift
NIOTSChannelOptions.swift
NIOTSConnectionBootstrap.swift Change naming of datagram-related types to make them more consistent + fix docs (#233) 2025-04-29 13:56:21 +01:00
NIOTSConnectionChannel.swift Add `NWParameters` configurator to bootstraps (#230) 2025-04-16 14:33:56 +01:00
NIOTSErrors.swift
NIOTSEventLoop.swift
NIOTSEventLoopGroup.swift
NIOTSListenerBootstrap.swift Change naming of datagram-related types to make them more consistent + fix docs (#233) 2025-04-29 13:56:21 +01:00
NIOTSListenerChannel.swift Add `NWParameters` configurator to bootstraps (#230) 2025-04-16 14:33:56 +01:00
NIOTSNetworkEvents.swift
NIOTSSingletons.swift
SocketAddress+NWEndpoint.swift
StateManagedChannel.swift
StateManagedListenerChannel.swift Add `NWParameters` configurator to bootstraps (#230) 2025-04-16 14:33:56 +01:00
StateManagedNWConnectionChannel.swift Add `NWParameters` configurator to bootstraps (#230) 2025-04-16 14:33:56 +01:00
TCPOptions+SocketChannelOption.swift
UDPOptions+SocketChannelOption.swift