contentLength property

  1. @override
int get contentLength
override

The value of the contentLengthHeader header, if any.

The value is negative if there is no content length set.

Implementation

@override
int get contentLength => origin.contentLength;
  1. @override
set contentLength (int contentLength)
override

The value of the contentLengthHeader header, if any.

The value is negative if there is no content length set.

Implementation

@override
void set contentLength(int contentLength) {
  origin.contentLength = contentLength;
}