ModifyHeaderInfo class

Constructors

ModifyHeaderInfo({required String header, required HeaderOperation operation, String? value, String? regexFilter, String? regexSubstitution, HeaderRegexOptions? regexOptions})
ModifyHeaderInfo.fromJS(ModifyHeaderInfo _wrapped)

Properties

hashCode → int
The hash code for this object.
no setterinherited
The name of the header to be modified.
getter/setter pair
operation ↔ HeaderOperation
The operation to be performed on a header.
getter/setter pair
regexFilter ↔ String?
A regular expression to match against the header value. This follows the RE2 syntax for consistency with the rest of the API.
getter/setter pair
regexOptions ↔ HeaderRegexOptions?
Options for the regex filter. If not specified, all options will be default.
getter/setter pair
regexSubstitution ↔ String?
Substitution pattern for the response header. regexFilter must be specified for this to be valid. Takes precedence over value and operation if specified and valid.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → ModifyHeaderInfo
no setter
value ↔ String?
The new value for the header. Must be specified for append and set operations.
getter/setter pair

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