You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -67,7 +67,7 @@ All variants accept the following arguments:
67
67
The first two versions execute a service method that does not return a value. The following two versions deserialize a service response of type `T` using `JSONDecoder`. The final version accepts a `ResponseHandler` callback to facilitate decoding of custom response content:
68
68
69
69
```swift
70
-
publictypealiasResponseHandler<T> = (_ content: Data, _ contentType: String?) throws-> T
70
+
publictypealiasResponseHandler<T> =@Sendable(_ content: Data, _ contentType: String?) throws-> T
71
71
```
72
72
73
73
Three of the methods accept the following arguments for specifying custom request body content:
0 commit comments