File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,9 @@ open class URLProtocol : NSObject {
261
261
@param request A request to make canonical.
262
262
@result The canonical form of the given request.
263
263
*/
264
- open class func canonicalRequest( for request: URLRequest ) -> URLRequest { NSUnimplemented ( ) }
264
+ open class func canonicalRequest( for request: URLRequest ) -> URLRequest {
265
+ NSRequiresConcreteImplementation ( )
266
+ }
265
267
266
268
/*!
267
269
@method requestIsCacheEquivalent:toRequest:
@@ -272,7 +274,9 @@ open class URLProtocol : NSObject {
272
274
implementation-specific checks.
273
275
@result YES if the two requests are cache-equivalent, NO otherwise.
274
276
*/
275
- open class func requestIsCacheEquivalent( _ a: URLRequest , to b: URLRequest ) -> Bool { NSUnimplemented ( ) }
277
+ open class func requestIsCacheEquivalent( _ a: URLRequest , to b: URLRequest ) -> Bool {
278
+ NSRequiresConcreteImplementation ( )
279
+ }
276
280
277
281
/*!
278
282
@method startLoading
You can’t perform that action at this time.
0 commit comments