Overrides TransportInterface::shutdown
public function shutdown(?CancellationInterface $cancellation = null) : bool { if (!$this->stream) { return false; } $flush = @fflush($this->stream); $this->stream = null; return $flush; }