Table of Contents

Class FailureScenarioRequest

Namespace
ReferenceApplication.Web.Governance.FailureScenarios
Assembly
ReferenceApplication.Web.dll

The request a failure-scenario run expects. The caller adds the antiforgery token.

public sealed record FailureScenarioRequest : IEquatable<FailureScenarioRequest>
Inheritance
FailureScenarioRequest
Implements
Inherited Members

Constructors

FailureScenarioRequest(string, string, IReadOnlyDictionary<string, string>, IReadOnlyDictionary<string, string>)

The request a failure-scenario run expects. The caller adds the antiforgery token.

public FailureScenarioRequest(string Method, string Path, IReadOnlyDictionary<string, string> Fields, IReadOnlyDictionary<string, string> Headers)

Parameters

Method string

The HTTP method.

Path string

The governed endpoint path.

Fields IReadOnlyDictionary<string, string>

The form fields to post, besides the antiforgery token.

Headers IReadOnlyDictionary<string, string>

The headers to send, including the run header.

Properties

Fields

The form fields to post, besides the antiforgery token.

public IReadOnlyDictionary<string, string> Fields { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Headers

The headers to send, including the run header.

public IReadOnlyDictionary<string, string> Headers { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Method

The HTTP method.

public string Method { get; init; }

Property Value

string

Path

The governed endpoint path.

public string Path { get; init; }

Property Value

string