SwiftstructJetEngine

struct JetEngine.URLSessionPreconnecter

Structure

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

inherits{}

Members 9

  1. fieldlet amsUrlSession: AMSURLSession?
  2. fieldlet preconnectBagCompletion: os.OSAllocatedUnfairLock<(@Sendable () -> ())?>
  3. fieldlet preconnecter: JEURLSessionPreconnecter
  4. fieldlet urlSession: NSURLSession+0x0
  5. funcpreconnect(bagProfile: String, profileVersion: String, processInfo: AMSProcessInfo, key: AMSBagKey, defaultHosts: [Foundation.URL]?) -> ()
  6. funcpreconnect(to: Foundation.URL) -> ()
  7. funcpreconnect(bag: JetEngine.Bag, key: AMSBagKey) -> ()
  8. initinit(urlSession: NSURLSession) -> JetEngine.URLSessionPreconnecter
  9. initinit(amsUrlSession: AMSURLSession) -> JetEngine.URLSessionPreconnecter
struct URLSessionPreconnecter {
    let urlSession: __C.NSURLSession
    let preconnectBagCompletion: os.OSAllocatedUnfairLock<(@Sendable () -> ())?>
    let amsUrlSession: __C.AMSURLSession?
    let preconnecter: __C.JEURLSessionPreconnecter

    init(urlSession: __C.NSURLSession)
    init(amsUrlSession: __C.AMSURLSession)

    func preconnect(bagProfile: Swift.String, profileVersion: Swift.String, processInfo: __C.AMSProcessInfo, key: __C.AMSBagKey, defaultHosts: [Foundation.URL]?)
    func preconnect(to: Foundation.URL)
    func preconnect(bag: JetEngine.Bag, key: __C.AMSBagKey)
}