// Copyright © WireMock.Net and mock4net by Alexandre Victoor
// This source file is based on mock4net by Alexandre Victoor which is licensed under the Apache 2.0 License.
// For more details see 'mock4net/LICENSE.txt' and 'mock4net/readme.md' in this project root.
using System.Threading.Tasks;
using WireMock.Settings;
namespace WireMock.ResponseProviders;
///
/// The Response Provider interface.
///
public interface IResponseProvider
{
///
/// The provide response.
///
/// The used mapping.
/// The request.
/// The WireMockServerSettings.
/// The including a new (optional) .
Task<(IResponseMessage Message, IMapping? Mapping)> ProvideResponseAsync(IMapping mapping, IRequestMessage requestMessage, WireMockServerSettings settings);
}