contentLength property

int contentLength
getter/setter pair

The ContentType of the contentTypeHeader header, if any. The value of the contentLengthHeader header, if any.

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

Implementation

// ContentType? contentType;

/// The value of the [contentLengthHeader] header, if any.
///
/// The value is negative if there is no content length set.
int contentLength = -1;