Initializer

init(request:session:)

Creates a data task publisher from the provided URL request and URL session.

Declaration

init(request: URLRequest, session: URLSession)

Parameters

request

The URLRequest from which to create a URL session data task.

session

The URLSession to create the data task.