public function Response::getBodySize in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Response.php \Zumba\GastonJS\NetworkTraffic\Response::getBodySize()
Returns the size of the response body
Return value
int
File
- vendor/
jcalderonzumba/ gastonjs/ src/ NetworkTraffic/ Response.php, line 66
Class
- Response
- Class Response @package Zumba\GastonJS\NetworkTraffic
Namespace
Zumba\GastonJS\NetworkTrafficCode
public function getBodySize() {
if (isset($this->data['bodySize'])) {
return intval($this->data['bodySize']);
}
return 0;
}