Explore Library
Quiz

Auth Tokens & Timeouts in URLSession

Learn the correct way to attach auth tokens and handle slow connections with URLSession.

You need to send a bearer token on a request and ensure the app doesn't hang forever on a flaky connection. Which approach is correct?