mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-02-24 01:35:07 +01:00
* Create WireMock.Net.ProtoBuf project * ok * Update Directory.Build.props Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
70 lines
2.4 KiB
C#
70 lines
2.4 KiB
C#
// Copyright © WireMock.Net
|
|
|
|
using System.Collections.Generic;
|
|
using WireMock.Types;
|
|
|
|
namespace WireMock.ResponseBuilders;
|
|
|
|
/// <summary>
|
|
/// The HeadersResponseBuilder interface.
|
|
/// </summary>
|
|
public interface IHeadersResponseBuilder : IBodyResponseBuilder
|
|
{
|
|
/// <summary>
|
|
/// The WithHeader.
|
|
/// </summary>
|
|
/// <param name="name">The name.</param>
|
|
/// <param name="values">The values.</param>
|
|
/// <returns>The <see cref="IResponseBuilder"/>.</returns>
|
|
IResponseBuilder WithHeader(string name, params string[] values);
|
|
|
|
/// <summary>
|
|
/// The WithHeaders.
|
|
/// </summary>
|
|
/// <param name="headers">The headers.</param>
|
|
/// <returns>The <see cref="IResponseBuilder"/>.</returns>
|
|
IResponseBuilder WithHeaders(IDictionary<string, string> headers);
|
|
|
|
/// <summary>
|
|
/// The WithHeaders.
|
|
/// </summary>
|
|
/// <param name="headers">The headers.</param>
|
|
/// <returns>The <see cref="IResponseBuilder"/>.</returns>
|
|
IResponseBuilder WithHeaders(IDictionary<string, string[]> headers);
|
|
|
|
/// <summary>
|
|
/// The WithHeaders.
|
|
/// </summary>
|
|
/// <param name="headers">The headers.</param>
|
|
/// <returns>The <see cref="IResponseBuilder"/>.</returns>
|
|
IResponseBuilder WithHeaders(IDictionary<string, WireMockList<string>> headers);
|
|
|
|
/// <summary>
|
|
/// The WithTrailingHeader.
|
|
/// </summary>
|
|
/// <param name="name">The name.</param>
|
|
/// <param name="values">The values.</param>
|
|
/// <returns>The <see cref="IResponseBuilder"/>.</returns>
|
|
IResponseBuilder WithTrailingHeader(string name, params string[] values);
|
|
|
|
/// <summary>
|
|
/// The WithTrailingHeaders.
|
|
/// </summary>
|
|
/// <param name="headers">The headers.</param>
|
|
/// <returns>The <see cref="IResponseBuilder"/>.</returns>
|
|
IResponseBuilder WithTrailingHeaders(IDictionary<string, string> headers);
|
|
|
|
/// <summary>
|
|
/// The WithTrailingHeaders.
|
|
/// </summary>
|
|
/// <param name="headers">The headers.</param>
|
|
/// <returns>The <see cref="IResponseBuilder"/>.</returns>
|
|
IResponseBuilder WithTrailingHeaders(IDictionary<string, string[]> headers);
|
|
|
|
/// <summary>
|
|
/// The WithTrailingHeaders.
|
|
/// </summary>
|
|
/// <param name="headers">The headers.</param>
|
|
/// <returns>The <see cref="IResponseBuilder"/>.</returns>
|
|
IResponseBuilder WithTrailingHeaders(IDictionary<string, WireMockList<string>> headers);
|
|
} |