Skip to content

Commit 4bbd267

Browse files
committed
Added new DelayedRequestDisposition enum to URLSession.swift
1 parent 720139a commit 4bbd267

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Foundation/URLSession/URLSession.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,13 @@
171171
import CoreFoundation
172172
import Dispatch
173173

174+
extension URLSession {
175+
public enum DelayedRequestDisposition {
176+
case cancel
177+
case continueLoading
178+
case useNewRequest
179+
}
180+
}
174181

175182
fileprivate var sessionCounter = Int32(0)
176183
fileprivate func nextSessionIdentifier() -> Int32 {

0 commit comments

Comments
 (0)