-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
279 additions
and
558 deletions.
There are no files selected for viewing
61 changes: 30 additions & 31 deletions
61
src/WireMock.Net/ResponseBuilders/IHeadersResponseBuilder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,40 @@ | ||
using JetBrains.Annotations; | ||
using JetBrains.Annotations; | ||
using System.Collections.Generic; | ||
using WireMock.Types; | ||
|
||
namespace WireMock.ResponseBuilders | ||
namespace WireMock.ResponseBuilders; | ||
|
||
/// <summary> | ||
/// The HeadersResponseBuilder interface. | ||
/// </summary> | ||
public interface IHeadersResponseBuilder : IBodyResponseBuilder | ||
{ | ||
/// <summary> | ||
/// The HeadersResponseBuilder interface. | ||
/// The with header. | ||
/// </summary> | ||
public interface IHeadersResponseBuilder : IBodyResponseBuilder | ||
{ | ||
/// <summary> | ||
/// The with header. | ||
/// </summary> | ||
/// <param name="name">The name.</param> | ||
/// <param name="values">The values.</param> | ||
/// <returns>The <see cref="IResponseBuilder"/>.</returns> | ||
IResponseBuilder WithHeader([NotNull] string name, params string[] values); | ||
/// <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 with headers. | ||
/// </summary> | ||
/// <param name="headers">The headers.</param> | ||
/// <returns>The <see cref="IResponseBuilder"/>.</returns> | ||
IResponseBuilder WithHeaders([NotNull] IDictionary<string, string> headers); | ||
/// <summary> | ||
/// The with headers. | ||
/// </summary> | ||
/// <param name="headers">The headers.</param> | ||
/// <returns>The <see cref="IResponseBuilder"/>.</returns> | ||
IResponseBuilder WithHeaders(IDictionary<string, string> headers); | ||
|
||
/// <summary> | ||
/// The with headers. | ||
/// </summary> | ||
/// <param name="headers">The headers.</param> | ||
/// <returns>The <see cref="IResponseBuilder"/>.</returns> | ||
IResponseBuilder WithHeaders([NotNull] IDictionary<string, string[]> headers); | ||
/// <summary> | ||
/// The with headers. | ||
/// </summary> | ||
/// <param name="headers">The headers.</param> | ||
/// <returns>The <see cref="IResponseBuilder"/>.</returns> | ||
IResponseBuilder WithHeaders(IDictionary<string, string[]> headers); | ||
|
||
/// <summary> | ||
/// The with headers. | ||
/// </summary> | ||
/// <param name="headers">The headers.</param> | ||
/// <returns>The <see cref="IResponseBuilder"/>.</returns> | ||
IResponseBuilder WithHeaders([NotNull] IDictionary<string, WireMockList<string>> headers); | ||
} | ||
/// <summary> | ||
/// The with headers. | ||
/// </summary> | ||
/// <param name="headers">The headers.</param> | ||
/// <returns>The <see cref="IResponseBuilder"/>.</returns> | ||
IResponseBuilder WithHeaders(IDictionary<string, WireMockList<string>> headers); | ||
} |
Oops, something went wrong.