SessionStateProvider
public protocol SessionStateProvider : AnyObject
Undocumented
-
Undocumented
Declaration
Swift
var serverTrustManager: ServerTrustManager? { get }
-
Undocumented
Declaration
Swift
var redirectHandler: RedirectHandler? { get }
-
Undocumented
Declaration
Swift
var cachedResponseHandler: CachedResponseHandler? { get }
-
Undocumented
Declaration
Swift
func request(for task: URLSessionTask) -> Request?
-
Undocumented
Declaration
Swift
func didCompleteTask(_ task: URLSessionTask)
-
Undocumented
Declaration
Swift
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
-
Undocumented
Declaration
Swift
func cancelRequestsForSessionInvalidation(with error: Error?)