protected function fireWebSocketHandler($handler, $method, ...$arguments)
    {
        if ($handler == null) {
            return;
        }

        try {
            call_user_func([$handler, $method], ...$arguments);
        } catch (Exception $e) {
            $this->reportException($e);
        } catch (Throwable $e) {
            $this->reportException(new FatalThrowableError($e));
        }
    }