Body Encoding

This commit is contained in:
Sebastian Bebrys
2017-02-23 10:39:44 +01:00
parent 3112054f59
commit c38373eb1f
10 changed files with 185 additions and 87 deletions

View File

@@ -1,5 +1,7 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
namespace WireMock
{
/// <summary>
@@ -27,6 +29,11 @@ namespace WireMock
/// </summary>
public string Body { get; set; }
/// <summary>
/// Gets or sets the body encoding.
/// </summary>
public Encoding BodyEncoding { get; set; } = new UTF8Encoding(false);
/// <summary>
/// The add header.
/// </summary>