NSURLRequest.NetworkServiceType
Constants that specify how a request uses network resources.
Declaration
enum NetworkServiceTypeOverview
The network service type provides a hint to the operating system about the nature and use of the underlying traffic. This hint enhances the system’s ability to prioritize traffic, determine how quickly it needs to wake up the cellular or Wi-Fi radio, and so on. By providing accurate information, you improve the system’s ability to optimally balance battery life, performance, and other considerations.
Make connections using the NSURLRequest.NetworkServiceType.default service type.
Topics
Network service types
NSURLRequest.NetworkServiceType.defaultNSURLRequest.NetworkServiceType.videoNSURLRequest.NetworkServiceType.backgroundNSURLRequest.NetworkServiceType.voiceNSURLRequest.NetworkServiceType.callSignalingNSURLRequest.NetworkServiceType.responsiveDataNSURLRequest.NetworkServiceType.avStreamingNSURLRequest.NetworkServiceType.responsiveAVNSURLRequest.NetworkServiceType.voip