<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/URLSession/DelayedRequestDisposition",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSURLSessionDelayedRequestDisposition"
  },
  "title" : "URLSession.DelayedRequestDisposition"
}
-->

# URLSession.DelayedRequestDisposition

The action to take on a delayed URL session task.

```
enum DelayedRequestDisposition
```

## Overview

The values of this enumeration indicate how to handle a task with a delayed start time (as set with the [`earliestBeginDate`](/documentation/Foundation/URLSessionTask/earliestBeginDate) property). When the task is ready to start, it calls the [`urlSession(_:task:willBeginDelayedRequest:completionHandler:)`](/documentation/Foundation/URLSessionTaskDelegate/urlSession(_:task:willBeginDelayedRequest:completionHandler:)) method of [`URLSessionTaskDelegate`](/documentation/Foundation/URLSessionTaskDelegate). The implementation of this method must call the provided completion handler, passing in one case of this enumeration as the first argument. If the [`URLSession.DelayedRequestDisposition.useNewRequest`](/documentation/Foundation/URLSession/DelayedRequestDisposition/useNewRequest) disposition is used for the first argument, the caller must also provide a new [`NSURLRequest`](/documentation/Foundation/NSURLRequest) as the second argument.

## Topics

### Dispositions

[`URLSession.DelayedRequestDisposition.cancel`](/documentation/Foundation/URLSession/DelayedRequestDisposition/cancel)

A disposition indicating that the task should be canceled.

[`URLSession.DelayedRequestDisposition.continueLoading`](/documentation/Foundation/URLSession/DelayedRequestDisposition/continueLoading)

A disposition indicating that the task should proceed with the original request.

[`URLSession.DelayedRequestDisposition.useNewRequest`](/documentation/Foundation/URLSession/DelayedRequestDisposition/useNewRequest)

A disposition indicating that the task should use a new request to perform the network load.



---

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)