@@ -204,6 +204,7 @@ open class URLSessionConfiguration : NSObject, NSCopying, @unchecked Sendable {
204204 */
205205
206206 /* Allow the use of HTTP pipelining */
207+ @available ( swift, deprecated: 6.1 , message: " HTTP/1 pipelining has known compatibility issues, please adopt HTTP/2 and HTTP/3 instead " )
207208 open var httpShouldUsePipelining : Bool
208209
209210 /* Allow the session to set cookies on requests */
@@ -229,9 +230,7 @@ open class URLSessionConfiguration : NSObject, NSCopying, @unchecked Sendable {
229230 /* The URL resource cache, or nil to indicate that no caching is to be performed */
230231 open var urlCache : URLCache ?
231232
232- /* Enable extended background idle mode for any tcp sockets created. Enabling this mode asks the system to keep the socket open
233- * and delay reclaiming it when the process moves to the background (see https://developer.apple.com/library/ios/technotes/tn2277/_index.html)
234- */
233+ @available ( swift, deprecated: 6.1 , message: " Not supported " )
235234 open var shouldUseExtendedBackgroundIdleMode : Bool
236235
237236 /* An optional array of Class objects which subclass URLProtocol.
@@ -253,6 +252,10 @@ open class URLSessionConfiguration : NSObject, NSCopying, @unchecked Sendable {
253252 @available ( * , unavailable, message: " Not available on non-Darwin platforms " )
254253 open var multipathServiceType : URLSessionConfiguration . MultipathServiceType { NSUnsupported ( ) }
255254
255+ /* Uses the classic network loader */
256+ @available ( * , unavailable, message: " Not available on non-Darwin platforms " )
257+ open var usesClassicLoadingMode : Bool { NSUnsupported ( ) }
258+
256259}
257260
258261@available ( * , unavailable, message: " Not available on non-Darwin platforms " )
0 commit comments