TransferEncodingHeader class final

A class representing the HTTP Transfer-Encoding header.

This class manages transfer encodings such as chunked, compress, deflate, and gzip. It provides functionality to parse and generate transfer encoding header values.

Constructors

TransferEncodingHeader.encodings(List<TransferEncoding> encodings)
Constructs a TransferEncodingHeader instance with the specified transfer encodings.
TransferEncodingHeader.parse(Iterable<String> values)
Parses the Transfer-Encoding header value and returns a TransferEncodingHeader instance.
factory

Properties

encodings → List<TransferEncoding>
A list of transfer encodings.
final
hashCode → int
The hash code for this object.
no setteroverride
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override