SimpleFunctions/Functions/Services/Interfaces/IExternalEndpointManager.cs
2023-05-31 20:07:21 +02:00

12 lines
463 B
C#

using Microsoft.AspNetCore.Mvc;
namespace Functions.Services.Interfaces;
public interface IExternalEndpointManager
{
public Task<HttpResponseMessage> Get(string hostname);
public Task<HttpResponseMessage> Post(string hostname, string body);
public Task<HttpResponseMessage> Delete(string hostname);
public Task<HttpResponseMessage> Patch(string hostname, string body);
public Task<HttpResponseMessage> Put(string hostname, string body);
}