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.
|
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();
|
|
}
|
|
}
|
|
}
|