Class ControllerRequestSnapshot
- Namespace
- XBullet.EasyTesting.Snapshots
- Assembly
- XBullet.EasyTesting.Snapshots.Core.dll
The request context associated with a controller response snapshot.
public sealed record ControllerRequestSnapshot : IEquatable<ControllerRequestSnapshot>
- Inheritance
-
ControllerRequestSnapshot
- Implements
- Inherited Members
Constructors
ControllerRequestSnapshot(string, string?)
The request context associated with a controller response snapshot.
public ControllerRequestSnapshot(string Method, string? Url)
Parameters
MethodstringHTTP method text, such as
GET.UrlstringFormatted request URL, or null when the request has no URL. Configured query and path redaction has already been applied.
Properties
Method
HTTP method text, such as GET.
public string Method { get; init; }
Property Value
Url
Formatted request URL, or null when the request has no URL. Configured query and path redaction has already been applied.
public string? Url { get; init; }