You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Net/HttpService.cs

20 lines
306 B

2 years ago
using Connected.Net;
namespace Connected.Net
{
internal class HttpService : IHttpService
{
public HttpService(IHttpClientFactory factory)
{
Factory = factory;
}
private IHttpClientFactory Factory { get; }
public HttpClient CreateClient()
{
return Factory.CreateClient();
}
}
}