using System; using JetBrains.Annotations; using WireMock.Matchers; using WireMock.Matchers.Request; namespace WireMock.RequestBuilders { /// /// The BodyRequestBuilder interface. /// public interface IBodyRequestBuilder { /// /// The with body. /// /// /// The matcher. /// /// /// The . /// IRequestMatcher WithBody([NotNull] IMatcher matcher); /// /// The with body. /// /// /// The body. /// /// /// The . /// IRequestMatcher WithBody(string body); /// /// The with body byte[]. /// /// /// The body as byte[]. /// /// /// The . /// IRequestMatcher WithBody(byte[] body); /// /// The with body string func. /// /// /// The body string function. /// /// /// The . /// IRequestMatcher WithBody(Func body); /// /// The with body byte[] func. /// /// /// The body byte[] function. /// /// /// The . /// IRequestMatcher WithBody(Func body); } }