HttpRouteDestination class

Specifications of a destination to which the request should be routed to.

Constructors

HttpRouteDestination({HttpRouteHeaderModifier? requestHeaderModifier, HttpRouteHeaderModifier? responseHeaderModifier, String? serviceName, int? weight})
HttpRouteDestination.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
requestHeaderModifier HttpRouteHeaderModifier?
The specification for modifying the headers of a matching request prior to delivery of the request to the destination.
getter/setter pair
responseHeaderModifier HttpRouteHeaderModifier?
The specification for modifying the headers of a response prior to sending the response back to the client.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceName String?
The URL of a BackendService to route traffic to.
getter/setter pair
weight int?
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited