ข้ามไปยังเนื้อหา

Class StranglerFigRequest

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Patterns
Assembly: Cephalon.Abstractions.dll

Describes one request that should be evaluated by a strangler-fig router.

public sealed class StranglerFigRequest

objectStranglerFigRequest

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

StranglerFigRequest(string, string, IReadOnlyDictionary<string, string>?)

Section titled “ StranglerFigRequest(string, string, IReadOnlyDictionary<string, string>?)”

Creates a new strangler-fig routing request.

public StranglerFigRequest(string path, string method, IReadOnlyDictionary<string, string>? metadata = null)

path string

The request path or absolute URI that should be evaluated.

method string

The request method to evaluate, such as GET or POST.

metadata IReadOnlyDictionary<string, string>?

Optional host-specific metadata that can accompany the request.

Gets optional host-specific metadata that accompanied the request.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the normalized request method.

public string Method { get; }

string

Gets the request path or absolute URI that should be evaluated.

public string Path { get; }

string