Type Method

new()

Creates an empty session configuration.

Declaration

class func new() -> Self

See Also

Creating a Session Configuration Object

class var `default`: URLSessionConfiguration

A default session configuration object.

class var ephemeral: URLSessionConfiguration

A session configuration that uses no persistent storage for caches, cookies, or credentials.

class func background(withIdentifier: String) -> URLSessionConfiguration

Creates a session configuration object that allows HTTP and HTTPS uploads or downloads to be performed in the background.

init()

Creates an empty session configuration.

Deprecated