contentLength property

  1. @override
int contentLength
final

The request's content length.

It is recommended to check hasContentLength first for large requests, since calling this getter will result in reading the request's full body if the content length is not known statically.

Implementation

@override
final int contentLength;