Switch to use a single HTTPClient rather than a new one every request !dev

This commit is contained in:
tidusjar 2017-12-31 00:04:43 +00:00
commit bec5604720
4 changed files with 153 additions and 75 deletions

View file

@ -0,0 +1,10 @@
using System.Net.Http;
using System.Threading.Tasks;
namespace Ombi.Api
{
public interface IOmbiHttpClient
{
Task<HttpResponseMessage> SendAsync(HttpRequestMessage request);
}
}