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 StranglerFigRequestInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”Metadata
Section titled “ Metadata”Gets optional host-specific metadata that accompanied the request.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Method
Section titled “ Method”Gets the normalized request method.
public string Method { get; }Property Value
Section titled “Property Value”Gets the request path or absolute URI that should be evaluated.
public string Path { get; }