PrivacyService
public class PrivacyService
Class that acts as an interface to the web service API.
-
These options can be used to configure the behaviour of the service.
See moreDeclaration
Swift
public struct Options : OptionSet
-
The base URL of the P-Service.
Declaration
Swift
let baseUrl: URL
-
Options that configure the behaviour of
Declaration
Swift
let options: Options
-
Initializes a
PrivacyService
instance.Declaration
Swift
public init(baseUrl: URL, options: Options = [])
Parameters
baseUrl
The base URL of the P-Service.
-
Key-value storage backend of the P-Service.
Declaration
Swift
var keyValueStorageBackend: KeyValueStorageBackend { get }
-
This class handles the URL construction of the key-value storage API of the P-Service.
See moreDeclaration
Swift
class KeyValueStorage