// Copyright © WireMock.Net
namespace WireMock.Net.Extensions.Routing.Models;
///
/// Represents request information for WireMock.Net routing, including the request message and route arguments.
///
public class WireMockRequestInfo
{
///
/// Initializes a new instance of the class.
///
/// The incoming request message.
public WireMockRequestInfo(IRequestMessage request)
{
Request = request;
}
///
/// Gets the incoming request message.
///
public IRequestMessage Request { get; }
///
/// Gets or initializes the route arguments extracted from the request path.
///
public IDictionary RouteArgs { get; init; } =
new Dictionary();
}