public function monitor() : array
{
return ["handler" => [get_class($this->application), $this->application instanceof Monitor ? $this->application->monitor() : null], "clients" => array_map(function ($client) {
return $this->getInfo($client->id);
}, $this->clients)];
}