task The protocol’s task. Declaration@NSCopying var task: URLSessionTask? { get } See AlsoGetting protocol attributescachedResponseclientURLProtocolClientrequest