SwiftclassPromotedContentJetSupport

class PromotedContentJetSupport.JetPackSourceLoader

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 15

  1. funcstatic cachedRemoteJetPackSource(Foundation.URL) async throws -> JetEngine.JetPackStreamSource
  2. varstatic var bundled: PromotedContentJetSupport.JetPackSourceLoader { get }
  3. deinitdeinit
  4. fieldvar cacheConfig: (useCache: Bool, directAccess: Bool)
  5. fieldvar minimumVersion: PromotedContentJetClient.JetPackVersion?
  6. fieldvar signingPolicy: JetEngine.JetPackSigningPolicy
  7. fieldvar url: Foundation.URL?
  8. funcallowInsecure(force: Bool, cert: Foundation.Data?) -> Self
  9. funccacheable(directAccess: Bool) -> Self
  10. funcload() async throws -> JetEngine.DiskJetPackResourceBundle
  11. funcrequireCertificate(cert: Foundation.Data?) -> Self
  12. funcset(minimumVersion: APFoundation.SemanticVersion) -> Self
  13. funcset(url: Foundation.URL) -> Self
  14. initPromotedContentJetSupport.JetPackSourceLoader.__allocating_init() -> PromotedContentJetSupport.JetPackSourceLoader
  15. varvar debugDescription: String { get }
class JetPackSourceLoader {
    enum UpdateStatus {
        case reverified(version: Swift.String)
        case updated(version: Swift.String)

        var debugDescription: Swift.String {
            get
        }
    }
    enum Error {
        case noSource
        case noDependencies
        case emptyCache
        case corruptSource
        case versionMismatch
    }
    var url: Foundation.URL?
    var signingPolicy: JetEngine.JetPackSigningPolicy
    var cacheConfig: (useCache: Swift.Bool, directAccess: Swift.Bool)
    var minimumVersion: PromotedContentJetClient.JetPackVersion?

    init()
    func set(minimumVersion: APFoundation.SemanticVersion) -> Self
    func set(url: Foundation.URL) -> Self
    func cacheable(directAccess: Swift.Bool) -> Self
    func allowInsecure(force: Swift.Bool, cert: Foundation.Data?) -> Self
    func requireCertificate(cert: Foundation.Data?) -> Self
    func load() async throws -> JetEngine.DiskJetPackResourceBundle
    class func cachedRemoteJetPackSource(_: Foundation.URL) async throws -> any JetEngine.JetPackStreamSource
    var debugDescription: Swift.String {
        get
    }

    static var bundled: PromotedContentJetSupport.JetPackSourceLoader {
        get
    }

    deinit
}