Hash

public struct Hash: Codable

A hash used by the API to save data on requesting all building complexes.

  • Current hash value.

    Declaration

    Swift

    public let hash: String
  • ¯_(ツ)_/¯

    Declaration

    Swift

    public let encryption: Bool
  • Fetch the current data hash value.

    Declaration

    Swift

    public static func fetch(session: URLSession = .shared,
                                 completion: @escaping (Result<Hash>) -> Void)

    Parameters

    session

    session to use, defaults to .shared

    completion

    handler