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
If you use RealHTTP.fetch() it will always use the shared HTTPClient, see:
extensionRealHTTP{
/// Fetch the request with the default client.
publicstaticfunc fetch(_ request:HTTPRequest)asyncthrows->HTTPResponse{tryawaitHTTPClient.shared.fetch(request)}...}
I tried your example , but I get error
That error appeared hear
The text was updated successfully, but these errors were encountered: