OptionalapiOptionalauthOptional Bearer token for authentication (e.g., when behind a proxy or API gateway)
OptionaldebugEnable debug logging to the console
OptionalonOptional callback invoked with the server's per-request Server-Timing
breakdown when the response carries one (the /grasshopper solve endpoint
emits decode;dur=N, solve;dur=N, encode;dur=N on every response).
Fires on success only, once per request, before the parsed body is returned. The transport stays response-type-agnostic — this is a side channel for telemetry, it does not change what a call returns. Use it to feed a perf monitor or surface "solve took Nms" without server log access.
OptionalretryRetry policy for transient errors. Default: no retries.
The base URL of the Rhino Compute server (e.g., http://localhost:6500).
This should point at the rhino.compute front (the reverse proxy), not a
bare compute.geometry child process. ComputeServerStats relies on the
proxy-only endpoints /healthcheck and /activechildren; targeting a
bare compute.geometry would make isServerOnline() 404 even though
/grasshopper would still solve.
OptionalsignalOptional caller-supplied AbortSignal. Composes with the internal timeout — whichever fires first wins. Lets callers cancel in-flight requests (e.g. on component unmount or when superseding a stale solve).
OptionalsuppressSuppress browser security warnings in the console
OptionalsuppressOptionaltimeoutPer-request timeout in milliseconds. Set to 0 to disable (useful for long
solves where any timeout is the wrong answer). Default: no timeout.
Uses AbortSignal.timeout so the timer is not throttled when the tab is hidden.
Optional API key for authenticating with the server (RhinoComputeKey)