/** * Get the response body size if known * * @return int|false * @api */ public function getSize() { return $this->body->getSize(); }
/** * {@inheritdoc} */ protected function doGetSize() { return $this->stream->getSize(); }