contentLength property

  1. @override
int get contentLength
override

The content length of the request body.

If the size of the request body is not known in advance, this value is -1.

Implementation

@override
int get contentLength => httpRequest.contentLength;