mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-25 02:12:50 +08:00
22 lines
555 B
C#
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);
|
|
}
|
|
}
|