Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Backend
/
URLSession
A session has already been initialized from a configuration. How do you apply a different…
from URLSession
Swift 6.3.3
intermediate
1 min
A session has already been initialized from a configuration. How do you apply a different timeout policy?
Create a new configuration and initialize a new session with it.
Mutate the original configuration; the existing session observes it live.
Mutate session.configuration; it is the session’s writable policy object.
Check
Ask AI about this kata
Report an error
previous kata
A POST is cancelled after its bytes may have reached the server. What may the client safe…
Quiz
next kata
What does this program print?
Predict the output
A new version is available
Reload