@@ -204,6 +204,7 @@ open class URLSessionConfiguration : NSObject, NSCopying, @unchecked Sendable {
204
204
*/
205
205
206
206
/* 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 " )
207
208
open var httpShouldUsePipelining : Bool
208
209
209
210
/* Allow the session to set cookies on requests */
@@ -229,9 +230,7 @@ open class URLSessionConfiguration : NSObject, NSCopying, @unchecked Sendable {
229
230
/* The URL resource cache, or nil to indicate that no caching is to be performed */
230
231
open var urlCache : URLCache ?
231
232
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 " )
235
234
open var shouldUseExtendedBackgroundIdleMode : Bool
236
235
237
236
/* An optional array of Class objects which subclass URLProtocol.
@@ -253,6 +252,10 @@ open class URLSessionConfiguration : NSObject, NSCopying, @unchecked Sendable {
253
252
@available ( * , unavailable, message: " Not available on non-Darwin platforms " )
254
253
open var multipathServiceType : URLSessionConfiguration . MultipathServiceType { NSUnsupported ( ) }
255
254
255
+ /* Uses the classic network loader */
256
+ @available ( * , unavailable, message: " Not available on non-Darwin platforms " )
257
+ open var usesClassicLoadingMode : Bool { NSUnsupported ( ) }
258
+
256
259
}
257
260
258
261
@available ( * , unavailable, message: " Not available on non-Darwin platforms " )
0 commit comments