mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-28 11:51:48 +01:00
38 lines
1.0 KiB
C#
38 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using JetBrains.Annotations;
|
|
using WireMock.Matchers.Request;
|
|
|
|
namespace WireMock.RequestBuilders
|
|
{
|
|
/// <summary>
|
|
/// The ParametersRequestBuilder interface.
|
|
/// </summary>
|
|
public interface IParamsRequestBuilder
|
|
{
|
|
/// <summary>
|
|
/// The with parameters.
|
|
/// </summary>
|
|
/// <param name="key">
|
|
/// The key.
|
|
/// </param>
|
|
/// <param name="values">
|
|
/// The values.
|
|
/// </param>
|
|
/// <returns>
|
|
/// The <see cref="IRequestMatcher"/>.
|
|
/// </returns>
|
|
IRequestMatcher WithParam([NotNull] string key, params string[] values);
|
|
|
|
/// <summary>
|
|
/// The with parameters.
|
|
/// </summary>
|
|
/// <param name="func">
|
|
/// The func.
|
|
/// </param>
|
|
/// <returns>
|
|
/// The <see cref="IRequestMatcher"/>.
|
|
/// </returns>
|
|
IRequestMatcher WithParam([NotNull] Func<IDictionary<string, List<string>>, bool> func);
|
|
}
|
|
} |