Instance Property

sessionDescription

An app-defined descriptive label for the session.

Declaration

var sessionDescription: String? { get set }

Discussion

This property contains a human-readable string that you can use for debugging purposes. This value may be nil and defaults to nil. The value is ignored by the session.

See Also

Configuring a Session

var configuration: URLSessionConfiguration

A copy of the configuration object for this session.

var delegate: URLSessionDelegate?

The delegate assigned when this object was created.

protocol URLSessionDelegate

The NSURLSessionDelegate protocol describes the methods that URLSession objects call on their delegates to handle session-level events.

protocol URLSessionTaskDelegate

The NSURLSessionTaskDelegate protocol defines the task-specific delegate methods that you should implement when working with any type of URLSession task.

var delegateQueue: OperationQueue

The operation queue provided when this object was created.