https://developer.apple.com/documentation/foundation/urlsessiontaskdelegate/urlsession(_:task:didreceive:completionhandler:)?language=objc
urlSession(_:task:didReceive:completionHandler:) | Apple Developer Documentation
Requests credentials from the delegate in response to an authentication request from the remote server.
apple developertaskdocumentation
https://developer.apple.com/documentation/foundation/urlsession?ref=lazz.tech
URLSession | Apple Developer Documentation
An object that coordinates a group of related, network data transfer tasks.
apple developerdocumentation
https://developer.apple.com/documentation/foundation/urlsessiondatadelegate/urlsession(_:datatask:willcacheresponse:completionhandler:)
urlSession(_:dataTask:willCacheResponse:completionHandler:) | Apple Developer Documentation
Asks the delegate whether the data (or upload) task should store the response in the cache.
apple developerdocumentation