Create network connections to send and receive data using transport and security protocols.
- iOS 12.0+
- macOS 10.14+
- UIKit for Mac 13.0+Beta
- tvOS 12.0+
- watchOS 6.0+Beta
Use this framework when you need direct access to protocols like TLS, TCP, and UDP for your custom application protocols. Continue to use
URLSession, which is built upon this framework, for loading HTTP- and URL-based resources.