mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-19 16:47:06 +01:00
* wip * ... * . * ... * ... * path * url * b * t * client * . * RequestMessageMethodMatcherTests * . * h * . * fix tests * .
47 lines
1.2 KiB
C#
47 lines
1.2 KiB
C#
using System.Collections.Generic;
|
|
using WireMock.Types;
|
|
using WireMock.Util;
|
|
|
|
namespace WireMock.Models
|
|
{
|
|
/// <summary>
|
|
/// IWebhookRequest
|
|
/// </summary>
|
|
public interface IWebhookRequest
|
|
{
|
|
/// <summary>
|
|
/// The Webhook Url.
|
|
/// </summary>
|
|
string Url { get; set; }
|
|
|
|
/// <summary>
|
|
/// The method to use.
|
|
/// </summary>
|
|
string Method { get; set; }
|
|
|
|
/// <summary>
|
|
/// The Headers to send.
|
|
/// </summary>
|
|
IDictionary<string, WireMockList<string>>? Headers { get; }
|
|
|
|
/// <summary>
|
|
/// The body to send.
|
|
/// </summary>
|
|
IBodyData? BodyData { get; set; }
|
|
|
|
/// <summary>
|
|
/// Use Transformer.
|
|
/// </summary>
|
|
bool? UseTransformer { get; set; }
|
|
|
|
/// <summary>
|
|
/// The transformer type.
|
|
/// </summary>
|
|
TransformerType TransformerType { get; set; }
|
|
|
|
/// <summary>
|
|
/// The ReplaceNodeOptions to use when transforming a JSON node.
|
|
/// </summary>
|
|
ReplaceNodeOptions TransformerReplaceNodeOptions { get; set; }
|
|
}
|
|
} |