mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-27 19:27:42 +02:00
* Create WireMock.Net.MimePart project * . * REFACTOR * ILRepack * -- * ... * x * x * . * fix * public class MimePartMatcher * shared * min * . * <!--<DelaySign>true</DelaySign>--> * Update README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
23 lines
988 B
C#
23 lines
988 B
C#
// 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;
|
|
|
|
/// <summary>
|
|
/// The Response Provider interface.
|
|
/// </summary>
|
|
public interface IResponseProvider
|
|
{
|
|
/// <summary>
|
|
/// The provide response.
|
|
/// </summary>
|
|
/// <param name="mapping">The used mapping.</param>
|
|
/// <param name="requestMessage">The request.</param>
|
|
/// <param name="settings">The WireMockServerSettings.</param>
|
|
/// <returns>The <see cref="ResponseMessage"/> including a new (optional) <see cref="IMapping"/>.</returns>
|
|
Task<(IResponseMessage Message, IMapping? Mapping)> ProvideResponseAsync(IMapping mapping, IRequestMessage requestMessage, WireMockServerSettings settings);
|
|
} |