Files
WireMock.Net-wiremock/src/WireMock.Net.Shared/Matchers/IProtoBufMatcher.cs
Stef Heyenrath e5c4605020 Create WireMock.Net.ProtoBuf project (#1350)
* Create WireMock.Net.ProtoBuf project

* ok

* Update Directory.Build.props

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-26 07:55:02 +02:00

27 lines
670 B
C#

// Copyright © WireMock.Net
using System;
using WireMock.Models;
namespace WireMock.Matchers;
/// <summary>
/// IProtoBufMatcher
/// </summary>
public interface IProtoBufMatcher : IDecodeBytesMatcher, IBytesMatcher
{
/// <summary>
/// The Func to define the proto definition as id or texts.
/// </summary>
Func<IdOrTexts> ProtoDefinition { get; set; }
/// <summary>
/// The full type of the protobuf (request/response) message object. Format is "{package-name}.{type-name}".
/// </summary>
string MessageType { get; }
/// <summary>
/// The Matcher to use (optional).
/// </summary>
IObjectMatcher? Matcher { get; }
}