contentLength property
The value of the contentLengthHeader header, if any.
The value is negative if there is no content length set.
Implementation
@override
int get contentLength {
return int.parse(value(io.HttpHeaders.contentLengthHeader)!);
}
The value of the contentLengthHeader header, if any.
The value is negative if there is no content length set.
Implementation
set contentLength(int value) {
set(io.HttpHeaders.contentLengthHeader, value);
}