Creates a data task publisher from the provided URL request and URL session.
- Parameters:
- request: The URL request from which to create a URL session data task.
- session: The URL session to create the data task.
get · iOS 13.0+
request
TypeScript
get request(): URLRequest
Swift declaration
let request: URLRequest
The URL request performed by the data task associated with this publisher.
get · iOS 13.0+
session
TypeScript
get session(): URLSession
Swift declaration
let session: URLSession
The URL session that performs the data task associated with this publisher.
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
URLSession.DataTaskPublisher.receive(subscriber:)
This declaration needs Swift generic type arguments. (no canonical witness for S)