swift-nio-transport-services/Sources/NIOTransportServices
Johannes Weiss d68f9d1f8e make NIOTS compile on Linux (#29)
Motivation:

NIOTS will not work on Linux but we can at least make it not fail
compilation when compiled on Linux. That way consumers of the API can
depend on NIOTS but make sure they only use NIOTS when wrapped in a
`#if canImport(Network)` block.

Modification:

Guard everything by `#if canImport(Network)`

Result:

This package will now build on Linux (without providing any useful
code).
2019-03-25 16:49:35 +02:00
..
NIOTSChannelOptions.swift update to latest NIO 2 (#26) 2019-02-26 13:01:17 +00:00
NIOTSConnectionBootstrap.swift make NIOTS compile on Linux (#29) 2019-03-25 16:49:35 +02:00
NIOTSConnectionChannel.swift make NIOTS compile on Linux (#29) 2019-03-25 16:49:35 +02:00
NIOTSErrors.swift update to latest NIO 2 (#26) 2019-02-26 13:01:17 +00:00
NIOTSEventLoop.swift make NIOTS compile on Linux (#29) 2019-03-25 16:49:35 +02:00
NIOTSEventLoopGroup.swift make NIOTS compile on Linux (#29) 2019-03-25 16:49:35 +02:00
NIOTSListenerBootstrap.swift make NIOTS compile on Linux (#29) 2019-03-25 16:49:35 +02:00
NIOTSListenerChannel.swift make NIOTS compile on Linux (#29) 2019-03-25 16:49:35 +02:00
NIOTSNetworkEvents.swift make NIOTS compile on Linux (#29) 2019-03-25 16:49:35 +02:00
SocketAddress+NWEndpoint.swift make NIOTS compile on Linux (#29) 2019-03-25 16:49:35 +02:00
StateManagedChannel.swift make NIOTS compile on Linux (#29) 2019-03-25 16:49:35 +02:00
TCPOptions+SocketChannelOption.swift make NIOTS compile on Linux (#29) 2019-03-25 16:49:35 +02:00