using System.Threading.Tasks;
#if !USE_ASPNETCORE
using IRequest = Microsoft.Owin.IOwinRequest;
#else
using IRequest = Microsoft.AspNetCore.Http.HttpRequest;
#endif
namespace WireMock.Owin.Mappers
{
///
/// IOwinRequestMapper
///
internal interface IOwinRequestMapper
{
///
/// MapAsync IRequest to RequestMessage
///
/// The OwinRequest/HttpRequest
/// The WireMockMiddlewareOptions
/// RequestMessage
Task MapAsync(IRequest request, IWireMockMiddlewareOptions options);
}
}