<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSURLRequestNetworkServiceType"
  },
  "title" : "NSURLRequest.NetworkServiceType"
}
-->

# NSURLRequest.NetworkServiceType

Constants that specify how a request uses network resources.

```
enum NetworkServiceType
```

## Overview

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`](/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum/default) service type.

## Topics

### Network service types

[`NSURLRequest.NetworkServiceType.default`](/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum/default)

A service type for standard network traffic.

[`NSURLRequest.NetworkServiceType.video`](/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum/video)

A service type for low-delay tolerant, very low-loss tolerant, inelastic flow, and constant packet rate connections.

[`NSURLRequest.NetworkServiceType.background`](/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum/background)

A service type for high-delay tolerant, high-loss tolerant, elastic flow, and variable size connections.

[`NSURLRequest.NetworkServiceType.voice`](/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum/voice)

A service type for low-delay tolerant, very low-loss tolerant, inelastic flow, and constant packet rate connections.

[`NSURLRequest.NetworkServiceType.callSignaling`](/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum/callSignaling)

A service for low-loss tolerant, inelastic flow, jitter tolerant, short but bursty rate, and variable size connections.

[`NSURLRequest.NetworkServiceType.responsiveData`](/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum/responsiveData)

A service type for medium-delay tolerant, elastic and inelastic flow, bursty, and long-lived connections.

[`NSURLRequest.NetworkServiceType.avStreaming`](/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum/avStreaming)

A service type for medium-delay tolerant, low-medium-loss tolerant, elastic flow, constant packet interval, and variable rate and size connections.

[`NSURLRequest.NetworkServiceType.responsiveAV`](/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum/responsiveAV)

A service type for low-delay tolerant, low-to-medium-loss tolerant, elastic flow, variable packet interval, rate, size responsive and time-sensitive connections.

[`NSURLRequest.NetworkServiceType.voip`](/documentation/Foundation/NSURLRequest/NetworkServiceType-swift.enum/voip)

A service type for VoIP traffic.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)