contentLength property
Gets and sets the content length of the request.
If the size of the request is not known in advance set content length to -1, which is also the default.
Implementation
get contentLength => headers.contentLength;
Gets and sets the content length of the request.
If the size of the request is not known in advance set content length to -1, which is also the default.
Implementation
set contentLength(int value) {
headers.contentLength = value;
}