Files
laatzen/LaaProductionWeb/LaaProduction.Http/Interfaces/IHttpClient.cs
T

30 lines
835 B
C#

namespace LaaProduction.Http.Interfaces
{
public interface IHttpClient
{
HttpResponse<T> DELETE<T>(string pathAndQuery);
HttpResponse<T> DELETE<T>(string pathAndQuery, string bearer);
HttpResponse<T> GET<T>(string pathAndQuery);
HttpResponse<T> GET<T>(string pathAndQuery, string bearer);
HttpResponse<T> POST<T>(string route);
HttpResponse<T> POST<T>(string route, object body);
HttpResponse<T> POST<T>(string route, string bearer);
HttpResponse<T> POST<T>(string route, string bearer, object body);
HttpResponse<T> PUT<T>(string route);
HttpResponse<T> PUT<T>(string route, object body);
HttpResponse<T> PUT<T>(string route, string bearer);
HttpResponse<T> PUT<T>(string route, string bearer, object body);
}
}