An app-defined descriptive label for the session.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
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.
Managing the Session
Flushes cookies and credentials to disk, clears transient caches, and ensures that future requests occur on a new TCP connection.
Empties all cookies, caches and credential stores, removes disk files, flushes in-progress downloads to disk, and ensures that future requests occur on a new socket.