Configuration
struct Configuration
Undocumented
-
Undocumented
Declaration
Swift
static func makeDefaultConfiguration(store: Store) -> Configuration
-
Undocumented
Declaration
Swift
let apiVersion: String -
Undocumented
Declaration
Swift
let country: String -
Undocumented
Declaration
Swift
let endpoints: Endpoints -
Generate the URL for getting all available days
Declaration
Swift
func availableDaysURL(forCountry country: String) -> URLParameters
countrycountry code
Return Value
URL to get all available days that server can deliver
-
Generate the URL to get the day package with given parameters
Declaration
Swift
func diagnosisKeysURL(day: String, forCountry country: String) -> URLParameters
dayThe day format should confirms to: yyyy-MM-dd
countryThe country code
Return Value
The full URL point to the key package
-
Undocumented
Declaration
Swift
func diagnosisKeysURL(day: String, hour: Int, forCountry country: String) -> URL -
Undocumented
Declaration
Swift
func availableHoursURL(day: String, country: String) -> URL -
Undocumented
Declaration
Swift
var configurationURL: URL { get } -
Undocumented
Declaration
Swift
var submissionURL: URL { get } -
Undocumented
Declaration
Swift
var registrationURL: URL { get } -
Undocumented
Declaration
Swift
var testResultURL: URL { get } -
Undocumented
Declaration
Swift
var tanRetrievalURL: URL { get }