Skip to content

Commit

Permalink
fix availability with URLSessionStreamTask for OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
designatednerd committed Apr 28, 2020
1 parent 1504755 commit 554621b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Apollo/URLSessionClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegat
self.datas[dataTask.taskIdentifier]?.append(data)
}

@available(iOS 9.0, OSXApplicationExtension 10.11, *)
@available(iOS 9.0, OSXApplicationExtension 10.11, OSX 10.11, *)
open func urlSession(_ session: URLSession,
dataTask: URLSessionDataTask,
didBecome streamTask: URLSessionStreamTask) {
Expand Down

0 comments on commit 554621b

Please sign in to comment.