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 86ea457 commit cc7659dCopy full SHA for cc7659d
Sources/async-http-client/proxy/http/Direct.swift
@@ -10,8 +10,7 @@ import retry_policy_service
10
11
public extension Http{
12
13
- struct Get{
14
-
+ struct Get{
15
/// Get request
16
/// - Parameters:
17
/// - url: Url
Sources/async-http-client/validate/type/Status.swift
@@ -15,7 +15,7 @@ public extension Http.Validate{
public typealias Predicate = (Int) -> Bool
18
- public typealias ErrorFn = (Int, URLResponse, Data?) -> Error?
+ public typealias ErrorFn = @Sendable (Int, URLResponse, Data?) -> Error?
19
20
/// Validate by exact value
21
case const(Int = 200)
0 commit comments