URLSessionConfiguration
extension URLSessionConfiguration
-
A strict session configuration denying usage of cookies and caching
Declaration
Swift
class func coronaWarnSessionConfiguration() -> URLSessionConfigurationReturn Value
The default session configuration for this app.
-
Session config with caching policy
.useProtocolCachePolicyNote
Caching is not realized viaNSURLCachebut via the internal SecureStore due to privacy concernsDeclaration
Swift
class func cachingSessionConfiguration() -> URLSessionConfigurationReturn Value
A session url configuration that uses the same set of parameters like the default CWA config. Only exception is the usage of caching policies.