mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-28 12:22:14 +01:00
* ProtoBuf
* .
* x
* ---
* x
* fx
* ...
* sc
* ...
* .
* groen
* x
* fix tests
* ok!?
* fix tests
* fix tests
* !
* x
* 6
* .
* x
* ivaluematcher
* transformer
* .
* sc
* .
* mapping
* x
* tra
* com
* ...
* .
* .
* .
* AddProtoDefinition
* .
* set
* grpahj
* .
* .
* IdOrText
* ...
* async
* async2
* .
* t
* nuget
* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0-preview-04" />
* http version
* tests
* .WithHttpVersion("2")
* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0" />
* HttpVersionParser
68 lines
2.3 KiB
C#
68 lines
2.3 KiB
C#
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);
|
|
} |