mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-05-03 02:12:50 +08:00
19 lines
508 B
C#
19 lines
508 B
C#
using System.IO;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Ocelot.Library.Infrastructure.Responses;
|
|
|
|
namespace Ocelot.Library.Infrastructure.RequestBuilder
|
|
{
|
|
public interface IRequestBuilder
|
|
{
|
|
Task<Response<Request>> Build(string httpMethod,
|
|
string downstreamUrl,
|
|
Stream content,
|
|
IHeaderDictionary headers,
|
|
IRequestCookieCollection cookies,
|
|
string queryString,
|
|
string contentType);
|
|
}
|
|
}
|