Created
April 7, 2023 21:39
-
-
Save LukeSmith16/ca5905c05f2934a61d4a71390b3f4bc0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let task = URLSession.shared.dataTask(with: request) | |
// Let our server know, it should prioritise handling this above lower priority tasks. | |
task.priority = URLSessionTask.highPriority | |
task.resume() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment