LoggerProtocol
@objc
open class LoggerProtocol : URLProtocol
extension LoggerProtocol: URLSessionDataDelegate
Undocumented
-
Undocumented
Declaration
Swift
override open class func canInit(with request: URLRequest) -> Bool
-
Undocumented
Declaration
Swift
override open class func canInit(with task: URLSessionTask) -> Bool
-
Undocumented
Declaration
Swift
override open func startLoading()
-
Undocumented
Declaration
Swift
override open func stopLoading()
-
Undocumented
Declaration
Swift
override open class func canonicalRequest(for request: URLRequest) -> URLRequest
-
Undocumented
Declaration
Swift
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data)
-
Undocumented
Declaration
Swift
public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
-
Undocumented
Declaration
Swift
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?)
-
Undocumented
Declaration
Swift
public func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void)
-
Undocumented
Declaration
Swift
public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
-
Undocumented
Declaration
Swift
public func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession)