getContentLength

abstract fun getContentLength(): Long?

获取响应的 Content-Length,即响应体的字节长度。

Return

响应体的长度。如果服务器没有提供此头部,则返回 null