Ändern Sie die StandardzeitC#

Ein Treffpunkt für C#-Programmierer
Anonymous
 Ändern Sie die Standardzeit

Post by Anonymous »

Ich habe die folgende Implementierung. Und die Standardzeit beträgt 100 Sekunden. < /p>

Ich frage mich, wie ich das Standard -Timeout ändern kann?

Code: Select all

public class HttpService : IHttpService
{

private static async Task GoRequestAsync(string url, Dictionary parameters, HttpMethod method,
Action successAction, Action errorAction = null, string body = "")
where T : class
{
using (var httpClient = new HttpClient(new HttpClientHandler()))
{

}
}
}

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post