Headers class
Message headers can be manipulated when Envoy forwards requests to, or responses from, a destination service. Header manipulation rules can be specified for a specific route destination or for all destinations.
Constructors
- Headers({HeaderOperations? request, HeaderOperations? response})
-
The main constructor.
const
-
Headers.fromJson(Map<
String, dynamic> json) - Creates a Headers from JSON data.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- request → HeaderOperations?
-
Header manipulation rules to apply before forwarding a request to the destination service.
final
- response → HeaderOperations?
-
Header manipulation rules to apply before returning a response to the caller.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited