Create network connections to send and receive data using transport and security protocols.
- iOS 12.0+
- macOS 10.14+
- tvOS 12.0+
- watchOS 6.0+Beta
- Mac Catalyst 13.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.