SessionManagerDelegate
public protocol SessionManagerDelegate : AnyObject
Undocumented
-
Informs delegate that a URLRequest is about to be executed.
Throws
The delegate can throw if preconditions are not met.Declaration
Swift
func sessionManager(_ sessionManager: SessionManager, willPerform request: URLRequest) throwsParameters
sessionManagerSessionManager instance.
requestURLRequest instance.
-
Informs delegate that a URLRequest was executed.
Throws
The delegate can throw if postconditions are not met.Declaration
Swift
func sessionManager(_ sessionManager: SessionManager, didPerform request: URLRequest, response: URLResponse, data: Data?) throwsParameters
sessionManagerSessionManager instance.
requestURLRequest instance.
responseURLResponse instance.
dataresponse data.
SessionManagerDelegate Protocol Reference