SwiftstructJetAsset

struct JetEngine.HTTPAsset

Members 8

  1. fieldlet body: Foundation.Data
  2. fieldlet cacheKey: String
  3. fieldlet httpResponse: NSHTTPURLResponse
  4. fieldlet wasReadFromCache: Bool
  5. fieldlet wasRevalidated: Bool
  6. fieldlet willBeRevalidated: Bool
  7. initinit(body: Foundation.Data, httpResponse: NSHTTPURLResponse, cacheKey: String) -> JetEngine.HTTPAsset
  8. initinit(jetAsset: JetEngine.JetPackAsset) throws -> JetEngine.HTTPAsset
struct HTTPAsset {
    let body: Foundation.Data
    let httpResponse: __C.NSHTTPURLResponse
    let cacheKey: Swift.String
    let wasReadFromCache: Swift.Bool
    let wasRevalidated: Swift.Bool
    let willBeRevalidated: Swift.Bool

    init(body: Foundation.Data, httpResponse: __C.NSHTTPURLResponse, cacheKey: Swift.String)
    init(jetAsset: JetEngine.JetPackAsset) throws
}