public function handleDisconnect(NetworkConnectionInterface $conn) { if ($conn->httpHeadersReceived) { $this->httpServer->handleDisconnect($conn); } }