Askedio\LaravelRatchet\RatchetServer::abort PHP Method

abort() public method

Close the current connection.
public abort ( Ratchet\ConnectionInterface $conn ) : [type]
$conn Ratchet\ConnectionInterface
return [type]
    public function abort(ConnectionInterface $conn)
    {
        $this->clients->detach($conn);
        $conn->close();
    }