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 7868ead commit ba0f577Copy full SHA for ba0f577
Source/NetworkService+Async.swift
@@ -26,6 +26,7 @@ public extension NetworkService {
26
- parameter resource: The resource you want to fetch.
27
28
- returns: a touple containing the parsed result and the HTTP response
29
+ - Throws: A `NetworkError`
30
*/
31
@discardableResult
32
func request<Result>(_ resource: Resource<Result>) async throws -> (Result, HTTPURLResponse) {
0 commit comments