commit
47c3e41eb1
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
@ -22,6 +22,7 @@ namespace Infrastructure
|
||||
postData = postData ?? "";
|
||||
using (HttpClient client = new HttpClient())
|
||||
{
|
||||
client.Timeout = new TimeSpan(0, 0, timeOut);
|
||||
if (headers != null)
|
||||
{
|
||||
foreach (var header in headers)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user