Function HTTPRequest.getBodySize
Returns the response body length.
Note: Some Web servers may not send a body length. In this case, the value returned will be -1
. If using chunked transfer encoding, the body length will also be -1
.
long getBodySize() nothrow @nogc const;