You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The difference between `default` and `ephemeral` `URLSessionConfiguration`s
is in the storage aspect. There are three kinds of stores related to a `URLSession`
- a `URLCache`
- a `URLCredentialStorage`
- an `HTTPCookieStorage`
While the `default` configuration mandates persistent stores, the `ephemeral`
configuration mandates only in-memory, ephemeral stores. As of today, `URLCache`
and `URLCredentialStorage` are unimplemented and not configured in the `default`
configuration. `HTTPCookieStorage` is implemented and we use the `shared` storage
in the `default` configuration.
This commit includes:
- an ephemeral `HTTPCookieStorage` that does not read from, and write to, a persistent
store
- an initial `URLSessionConfiguration.ephemeral` implementation which configures an
ephmeral `HTTPCookieStorage`, but no `URLCache` and `URLCredentialStorage`
0 commit comments