Delen via


RouteModel Class

Definition

Immutable representation of the portions of a route that only change in reaction to configuration changes.

public sealed class RouteModel
type RouteModel = class
Public NotInheritable Class RouteModel
Inheritance
RouteModel

Remarks

All members must remain immutable to avoid thread safety issues. Instead, instances of RouteModel are replaced in their entirety when values need to change.

Constructors

RouteModel(RouteConfig, ClusterState, HttpTransformer)

Creates a new instance.

Properties

Cluster

The ClusterState instance associated with this route.

Config

The configuration data used to build this route.

Transformer

Transforms to apply for this route.

Applies to