File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 21
21
import CoreFoundation
22
22
import Dispatch
23
23
24
-
25
24
/// A cancelable object that refers to the lifetime
26
25
/// of processing a given request.
27
26
open class URLSessionTask : NSObject , NSCopying {
27
+
28
+ public var countOfBytesClientExpectsToReceive : Int64 { NSUnimplemented ( ) }
29
+ public var countOfBytesClientExpectsToSend : Int64 { NSUnimplemented ( ) }
30
+ public var earliestBeginDate : Date ? { NSUnimplemented ( ) }
31
+
28
32
/// How many times the task has been suspended, 0 indicating a running task.
29
33
internal var suspendCount = 1
30
34
internal var session : URLSessionProtocol ! //change to nil when task completes
@@ -328,6 +332,12 @@ extension URLSessionTask {
328
332
}
329
333
}
330
334
335
+ extension URLSessionTask : ProgressReporting {
336
+ public var progress : Progress {
337
+ NSUnimplemented ( )
338
+ }
339
+ }
340
+
331
341
internal extension URLSessionTask {
332
342
/// Updates the (public) state based on private / internal state.
333
343
///
You can’t perform that action at this time.
0 commit comments