MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / forward

Function forward

app/src/API/Handlers/AssistantHandler.cpp:44–49  ·  view source on GitHub ↗

* @brief Forward a call to an inner registered command, preserving the caller's id. */

Source from the content-addressed store, hash-verified

42 * @brief Forward a call to an inner registered command, preserving the caller's id.
43 */
44static 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).

Callers 13

snapshotMethod · 0.85
datasetResolveMethod · 0.85
workspaceResolveMethod · 0.85
workspacePlanMethod · 0.85
scriptDryRunMethod · 0.85
scriptApplyMethod · 0.85
resolveAddTileDatasetFunction · 0.85
ensureCustomizeModeFunction · 0.85
resolveOrCreateWorkspaceFunction · 0.85
applyAddTileRangesFunction · 0.85
workspaceAddTileMethod · 0.85

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected