mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Switch to use a single HTTPClient rather than a new one every request !dev
This commit is contained in:
parent
5d9ce785c7
commit
bec5604720
4 changed files with 153 additions and 75 deletions
10
src/Ombi.Api/IOmbiHttpClient.cs
Normal file
10
src/Ombi.Api/IOmbiHttpClient.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using System.Net.Http;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ombi.Api
|
||||
{
|
||||
public interface IOmbiHttpClient
|
||||
{
|
||||
Task<HttpResponseMessage> SendAsync(HttpRequestMessage request);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue