using System.Text; using JetBrains.Annotations; namespace WireMock.ResponseBuilders { /// /// The BodyResponseBuilder interface. /// public interface IBodyResponseBuilder : IDelayResponseBuilder { /// /// The with body. /// /// The body. /// A . IResponseBuilder WithBody([NotNull] string body); /// /// The with body as base64. /// /// The body asbase64. /// The Encoding. /// A . IResponseBuilder WithBodyAsBase64([NotNull] string bodyAsbase64, [CanBeNull] Encoding encoding = null); } }