One Logo Pool Ball
Network · IOS API REFERENCE

NetworkConnection

class · iOS 26.0+ · SDK 27.1

final class NetworkConnection<ApplicationProtocol> where ApplicationProtocol : NetworkProtocolOptions

Connect to an endpoint on the network to send and receive data. A connection handles establishment of any transport, security, and application-level protocols required to transmit and receive user data. Connections may make multiple establishment attempts before the connection is ready.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

16 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NetworkConnection.currentPath

The containing type needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.localEndpoint

The containing type needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.remoteEndpoint

The containing type needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.tryNextEndpoint()

The containing type needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.onStateUpdate(_:)

The containing type needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.init(to:using:)

This declaration needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.init(to:using:)

This declaration needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.init(to:using:)

The containing type needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.init(to:using:)

The containing type needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.init(to:using:)

callback cannot propagate synchronous failure

NetworkConnection.init(to:using:)

callback cannot propagate synchronous failure

NetworkConnection.onPathUpdate(_:)

The containing type needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.onViabilityUpdate(_:)

The containing type needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.onBetterPathUpdate(_:)

The containing type needs Swift generic type arguments. (no canonical witness for ApplicationProtocol)

NetworkConnection.openStream(directionality:_:)

This declaration needs Swift generic type arguments. (no canonical witness for NewApplicationProtocol)

NetworkConnection.inboundStreams(prepending:_:)

This declaration needs Swift generic type arguments. (no canonical witness for NewApplicationProtocol)

All Network types →