// Copyright © WireMock.Net using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using WireMock.Models; using WireMock.Types; // ReSharper disable once CheckNamespace namespace WireMock.Util; /// /// BodyData /// public class BodyData : IBodyData { /// public Encoding? Encoding { get; set; } /// public string? BodyAsString { get; set; } /// public IDictionary>? BodyAsFormUrlEncoded { get; set; } /// public object? BodyAsJson { get; set; } /// public byte[]? BodyAsBytes { get; set; } /// public bool? BodyAsJsonIndented { get; set; } /// public string? BodyAsFile { get; set; } /// public bool? BodyAsFileIsCached { get; set; } /// public BodyType? DetectedBodyType { get; set; } /// public BodyType? DetectedBodyTypeFromContentType { get; set; } /// public string? DetectedCompression { get; set; } /// public string? IsFuncUsed { get; set; } #region ProtoBuf /// public Func? ProtoDefinition { get; set; } /// public string? ProtoBufMessageType { get; set; } #endregion /// public IBlockingQueue? SseStringQueue { get; set; } /// public Task? BodyAsSseStringTask { get; set; } }