mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-19 08:37:23 +01:00
* Create WireMock.Net.MimePart project * . * REFACTOR * ILRepack * -- * ... * x * x * . * fix * public class MimePartMatcher * shared * min * . * <!--<DelaySign>true</DelaySign>--> * Update README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
20 lines
545 B
C#
20 lines
545 B
C#
// Copyright © WireMock.Net
|
|
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WireMock.Matchers;
|
|
|
|
/// <summary>
|
|
/// IDecodeBytesMatcher
|
|
/// </summary>
|
|
public interface IDecodeBytesMatcher
|
|
{
|
|
/// <summary>
|
|
/// Decode byte array to an object.
|
|
/// </summary>
|
|
/// <param name="input">The byte array</param>
|
|
/// <param name="cancellationToken">The CancellationToken [optional].</param>
|
|
/// <returns>object</returns>
|
|
Task<object?> DecodeAsync(byte[]? input, CancellationToken cancellationToken = default);
|
|
} |