Class ProtoWireMockRequest

Namespace
ProtoTest.WireMock
Assembly
ProtoTest.WireMock.dll

One request the fake served: its method and path, whether a stub matched it, and the status served.

public sealed record ProtoWireMockRequest : IEquatable<ProtoWireMockRequest>
Inheritance
ProtoWireMockRequest
Implements
Inherited Members
Extension Methods

Constructors

ProtoWireMockRequest(string, string, bool, int)

One request the fake served: its method and path, whether a stub matched it, and the status served.

public ProtoWireMockRequest(string Method, string Path, bool Matched, int StatusCode)

Parameters

Method string
Path string
Matched bool
StatusCode int

Properties

Matched

public bool Matched { get; init; }

Property Value

bool

Method

public string Method { get; init; }

Property Value

string

Path

public string Path { get; init; }

Property Value

string

StatusCode

public int StatusCode { get; init; }

Property Value

int