using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
[module:
SuppressMessage("StyleCop.CSharp.ReadabilityRules",
"SA1101:PrefixLocalCallsWithThis",
Justification = "Reviewed. Suppression is OK here, as it conflicts with internal naming rules.")]
[module:
SuppressMessage("StyleCop.CSharp.NamingRules",
"SA1309:FieldNamesMustNotBeginWithUnderscore",
Justification = "Reviewed. Suppression is OK here, as it conflicts with internal naming rules.")]
[module:
SuppressMessage("StyleCop.CSharp.DocumentationRules",
"SA1633:FileMustHaveHeader",
Justification = "Reviewed. Suppression is OK here, as unknown copyright and company.")]
// ReSharper disable ArrangeThisQualifier
// ReSharper disable InconsistentNaming
namespace WireMock
{
///
/// The response.
///
public class ResponseMessage
{
///
/// Gets the headers.
///
public IDictionary Headers { get; set; } = new ConcurrentDictionary();
///
/// Gets or sets the status code.
///
public int StatusCode { get; set; } = 200;
///
/// Gets or sets the body.
///
public string Body { get; set; }
///
/// The add header.
///
///
/// The name.
///
///
/// The value.
///
public void AddHeader(string name, string value)
{
Headers.Add(name, value);
}
}
}