using System.Collections.Generic; using WireMock.ResponseBuilders; using WireMock.Types; using WireMock.Util; namespace WireMock; /// /// IResponseMessage /// public interface IResponseMessage { /// /// The Body. /// IBodyData? BodyData { get; } /// /// Gets the body destination (Null, SameAsSource, String or Bytes). /// string? BodyDestination { get; } /// /// Gets or sets the body. /// string? BodyOriginal { get; } /// /// Gets the Fault percentage. /// double? FaultPercentage { get; } /// /// The FaultType. /// FaultType FaultType { get; } /// /// Gets the headers. /// IDictionary>? Headers { get; } /// /// Gets or sets the status code. /// object? StatusCode { get; } /// /// Adds the header. /// /// The name. /// The value. void AddHeader(string name, string value); /// /// Adds the header. /// /// The name. /// The values. void AddHeader(string name, params string[] values); }