* @brief Forward a call to an inner registered command, preserving the caller's id. */
| 42 | * @brief Forward a call to an inner registered command, preserving the caller's id. |
| 43 | */ |
| 44 | static API::CommandResponse forward(const QString& innerCommand, |
| 45 | const QString& id, |
| 46 | const QJsonObject& params) |
| 47 | { |
| 48 | return API::CommandRegistry::instance().execute(innerCommand, id, params); |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * @brief Re-wrap an inner CommandResponse under a new outer id (chained calls). |
no test coverage detected