WebKit2.URIResponse.prototype.get_content_length

function get_content_length(): Number(guint64) {
    // Gjs wrapper for webkit_uri_response_get_content_length()
}
  

Get the expected content length of the WebKit2.URIResponse. It can be 0 if the server provided an incorrect or missing Content-Length.

Returns

the expected content length of response.