17 lines
446 B
C#
Executable File
17 lines
446 B
C#
Executable File
using Opsoft.NetCore.O3App.Shared;
|
|
using System.Net.Http;
|
|
|
|
namespace Opsoft.NetCore.O3App.Infrastructure
|
|
{
|
|
public class FormHttpClient<T> : HttpClientBase<T>
|
|
where T : class
|
|
{
|
|
public FormHttpClient(ILogger<T> logger, IHttpClientFactory httpClientFactory)
|
|
: base(logger, httpClientFactory)
|
|
{
|
|
}
|
|
|
|
protected override string ContentType => Constants.ContentTypes.FormUrlEncoded;
|
|
}
|
|
}
|