We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31cca8a commit 2136d2bCopy full SHA for 2136d2b
Sources/SimpleHTTP/Response/DataResponse.swift
@@ -3,6 +3,11 @@ import Foundation
3
public struct URLDataResponse {
4
public let data: Data
5
public let response: HTTPURLResponse
6
+
7
+ public init(data: Data, response: HTTPURLResponse) {
8
+ self.data = data
9
+ self.response = response
10
+ }
11
}
12
13
extension URLDataResponse {
0 commit comments