You are here

public function Response::getBodySize in Zircon Profile 8

Same name and namespace in other branches
  1. 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\NetworkTraffic

Code

public function getBodySize() {
  if (isset($this->data['bodySize'])) {
    return intval($this->data['bodySize']);
  }
  return 0;
}