URLSession

E427884

URLSession is Apple’s networking API for performing HTTP and other URL-based data transfers in iOS, macOS, and related platforms.

All labels observed (2)

Label Occurrences
NSURLSession 1
URLSession canonical 1

How this entity was disambiguated

Statements (96)

Predicate Object
instanceOf Foundation framework API
class
networking API
conformsTo Sendable
createsWith URLSessionConfiguration.background(withIdentifier:)
URLSessionConfiguration.default
URLSessionConfiguration.ephemeral
definedIn Foundation framework NERFINISHED
documentationURL https://developer.apple.com/documentation/foundation/urlsession
hasComponent URLSessionConfiguration NERFINISHED
URLSessionDataDelegate NERFINISHED
URLSessionDataTask NERFINISHED
URLSessionDelegate NERFINISHED
URLSessionDownloadDelegate NERFINISHED
URLSessionDownloadTask NERFINISHED
URLSessionStreamDelegate NERFINISHED
URLSessionStreamTask NERFINISHED
URLSessionTask NERFINISHED
URLSessionTaskDelegate NERFINISHED
URLSessionUploadTask NERFINISHED
URLSessionWebSocketDelegate
URLSessionWebSocketTask NERFINISHED
hasConfigurationType background session configuration
default session configuration
ephemeral session configuration
hasInitializer shared singleton session
hasMethod dataTask(with:)
dataTask(with:completionHandler:)
downloadTask(with:completionHandler:)
finishTasksAndInvalidate()
invalidateAndCancel()
streamTask(withHostName:port:)
uploadTask(with:from:completionHandler:)
webSocketTask(with:)
hasProperty shared
introducedBy Apple NERFINISHED
language Objective-C NERFINISHED
Swift NERFINISHED
module Foundation NERFINISHED
platform iOS
macOS
tvOS NERFINISHED
visionOS NERFINISHED
watchOS NERFINISHED
primaryPurpose performing URL-based network data transfers
replaces NSURLConnection NERFINISHED
supportsAuthenticationMethod HTTP basic authentication
HTTP digest authentication
client certificate authentication
server trust evaluation
supportsBackgroundExecution yes
supportsFeature HTTP additional headers configuration
HTTP cookie accept policy configuration
HTTP maximum connections per host configuration
HTTP pipelining (via configuration)
TLS/SSL
WebSocket tasks (URLSessionWebSocketTask) NERFINISHED
authentication and credential handling
background transfers
caching
cellular vs Wi-Fi control
cookie storage
data tasks
discretionary background transfers
download tasks
multipath TCP (on supported platforms)
multipathServiceType
network service type configuration
proxy configuration
request timeout configuration
resource timeout configuration
stream tasks
upload tasks
waitsForConnectivity
supportsMetrics URLSessionTaskMetrics NERFINISHED
supportsOS iOS 7 and later
macOS 10.9 and later
supportsProtocol FTP NERFINISHED
HTTP
HTTPS
custom URL schemes (via protocol handlers)
file URL
supportsResumingDownloads yes
supportsSecurityFeature App Transport Security (ATS) policies
TLS minimum and maximum protocol versions
custom trust evaluation via delegate
threadingModel callbacks on delegate queues
completion handlers on specified queues
usedFor REST API calls
WebSocket communication
file downloads
file uploads
streaming data over the network
usesPattern async-await APIs (in Swift)
completion-handler-based APIs
delegate-based callbacks

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

Combine integratesWith URLSession
Foundation includesType URLSession
this entity surface form: NSURLSession