Files
NetNewsWire/Frameworks/RSWeb/RSWeb/HTTPResult.swift
2017-12-10 12:31:10 -08:00

26 lines
468 B
Swift

//
// HTTPResult.swift
// RSWeb
//
// Created by Brent Simmons on 12/10/17.
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Foundation
public struct HTTPResult {
public let url: URL
public let data: Data?
public let response: URLResponse?
public let error: Error?
public init(url: URL, data: Data?, response: URLResponse?, error: Error?) {
self.url = url
self.data = data
self.response = response
self.error = error
}
}