---
title: session
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/urlsession/datataskpublisher/session
---

# session

The URL session that performs the data task associated with this publisher.

## Declaration

```swift
let session: URLSession
```

## See Also

### Inspecting data task properties

- [request](foundation/urlsession/datataskpublisher/request.md)
