This method only sends the content once.
$this
Overrides Response::sendContent
public function sendContent() : static { if ($this->streamed) { return $this; } $this->streamed = true; if (!isset($this->callback)) { throw new \LogicException('The Response callback must be set.'); } ($this->callback)(); return $this; }