ProtocolFoundationNetworking5.9.0
URLProtocolClient
protocol URLProtocolClient : NSObjectProtocol
Supertypes
protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Requirements
func urlProtocol(URLProtocol, cachedResponseIsValid: CachedURLResponse
) func urlProtocol(URLProtocol, didCancel: URLAuthenticationChallenge
) func urlProtocol(URLProtocol, didFailWithError: Error
) func urlProtocol(URLProtocol, didLoad: Data
) func urlProtocol(URLProtocol, didReceive: URLAuthenticationChallenge
) func urlProtocol(URLProtocol, didReceive: URLResponse, cacheStoragePolicy: URLCache.StoragePolicy
) func urlProtocol(URLProtocol, wasRedirectedTo: URLRequest, redirectResponse: URLResponse
) func urlProtocolDidFinishLoading(URLProtocol
)