---
title: request
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsurldownload/request
---

# request

Returns the request that initiated the receiver’s download.

## Declaration

```swift
var request: URLRequest { get }
```

## Return Value

Return Value The URL request that initiated the receiver’s download.

## See Also

### Getting download properties

- [deletesFileUponFailure](foundation/nsurldownload/deletesfileuponfailure.md)
