Open ClassFoundationNetworking5.9.0
URLProtocol
class URLProtocol
Superclasses
class NSObject
The root class of most Foundation class hierarchies.
Citizens in FoundationNetworking
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol NSObjectProtocol
The
NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
Members
init(request: URLRequest, cachedResponse: CachedURLResponse?, client: URLProtocolClient?
) convenience init(task: URLSessionTask, cachedResponse: CachedURLResponse?, client: URLProtocolClient?
) class func canInit(with: URLRequest
) -> Bool class func canInit(with: URLSessionTask
) -> Bool class func canonicalRequest(for: URLRequest
) -> URLRequest class func property(forKey: String, in: URLRequest
) -> Any? class func registerClass(AnyClass
) -> Bool class func removeProperty(forKey: String, in: NSMutableURLRequest
) class func requestIsCacheEquivalent(URLRequest, to: URLRequest
) -> Bool class func setProperty(Any, forKey: String, in: NSMutableURLRequest
) class func unregisterClass(AnyClass
) var cachedResponse: CachedURLResponse?
var client: URLProtocolClient?
var request: URLRequest
var task: URLSessionTask?
func startLoading(
) func stopLoading(
)