Files
GX.O3.WMS/APP.O3/Infrastructure/HttpClients/JsonHttpClient.cs
T

17 lines
436 B
C#
Executable File

using Opsoft.NetCore.O3App.Shared;
using System.Net.Http;
namespace Opsoft.NetCore.O3App.Infrastructure
{
public class JsonHttpClient<T> : HttpClientBase<T>
where T : class
{
public JsonHttpClient(ILogger<T> logger, IHttpClientFactory httpClientFactory)
: base(logger, httpClientFactory)
{
}
protected override string ContentType => Constants.ContentTypes.Json;
}
}