[성현모] 타임아웃 수정
This commit is contained in:
@ -17,8 +17,8 @@ namespace CPMeta
|
||||
{
|
||||
ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;
|
||||
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
|
||||
RequestClient.Timeout = TimeSpan.FromMilliseconds(3000);
|
||||
ResponseClient.Timeout = TimeSpan.FromMilliseconds(3000);
|
||||
RequestClient.Timeout = TimeSpan.FromMilliseconds(10000);
|
||||
ResponseClient.Timeout = TimeSpan.FromMilliseconds(10000);
|
||||
}
|
||||
|
||||
public static async Task<RESPONSE> PostAsync<REQUEST,RESPONSE>(string Url, REQUEST body) where REQUEST : class where RESPONSE : class
|
||||
|
||||
Reference in New Issue
Block a user