Ocelot/src/Ocelot/Request/Builder/IRequestCreator.cs

22 lines
555 B
C#

using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Ocelot.Requester.QoS;
using Ocelot.Responses;
namespace Ocelot.Request.Builder
{
public interface IRequestCreator
{
Task<Response<Request>> Build(string httpMethod,
string downstreamUrl,
Stream content,
IHeaderDictionary headers,
QueryString queryString,
string contentType,
RequestId.RequestId requestId,
bool isQos,
IQoSProvider qosProvider);
}
}