// Copyright © WireMock.Net using System.Threading.Tasks; using Microsoft.AspNetCore.Http; //#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 HttpRequest /// The WireMockMiddlewareOptions /// RequestMessage Task MapAsync(HttpRequest request, IWireMockMiddlewareOptions options); }