HttpBody.contentLength

Returns the number of bytes that will be written to {@code sink} in a call to {@link #writeTo}, or -1 if that count is unknown.

class HttpBody
long
contentLength
()

Meta