torque-pro-assistant - v1.0.0
    Preparing search index...
    • Issues a GET to the Python/Flask backend at the bridge-supplied port.

      Type Parameters

      • ResponseBody = unknown

      Parameters

      • route: string

        Path under the Flask root (no leading slash) — e.g. 'ping' or 'sessions/abc'.

      • onSuccess: (data: ResponseBody) => void

        Callback invoked with the parsed JSON body.

      • OptionalonError: (error: unknown) => void

        Optional callback for fetch failures. Defaults to console.error.

      Returns void