HttpHeaderOption class
Specification determining how headers are added to requests or responses.
Constructors
- HttpHeaderOption()
- HttpHeaderOption.fromJson(Map _json)
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- headerName ↔ String
-
The name of the header.
read / write
- headerValue ↔ String
-
The value of the header to add.
read / write
- replace ↔ bool
-
If false, headerValue is appended to any values that already exist for the
header. If true, headerValue is set for the header, discarding any values
that were set for that header.
The default value is false.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited