Build a fully-qualified URL from an absolute base URL and optional query.
Optionalquery: QueryParamsBuild a fully-qualified URL from a path (on the data host) and optional query. The result carries the base URL's userinfo, if any: it is the URL a transport requests.
Optionalquery: QueryParamsGET a path on the data host and parse the JSON reply into T.
Optionalquery: QueryParamsGET a fully-qualified absolute URL (e.g. the catalogue host) and parse JSON into T.
Optionalquery: QueryParamsgetJsonAbsolute, plus the decoded text and the request, as getJsonAnswer gives them.
Optionalquery: QueryParamsgetJson, plus the decoded text the value was parsed from (the client keeps it as the
body of the ArcGIS error envelope, as sent: rebuilding it with JSON.stringify overflowed
the stack on Node 22 and 24 for an envelope nested 10,000 deep) and the request as an error
about the answer names it (GET <url>, redacted and shortened).
Optionalquery: QueryParamsA value from an answer quoted for an error message or a note (quoteValue, cut at max),
the base and catalogue URLs' credentials scrubbed first, before the cut: a 2xx answer (a
value a row can't read, a field name or key a number error names) can echo them as well as an
error body. API code quotes server values with this.
Optionalmax: numbertext without the credentials of the base URL or of any absolute URL this engine
requested (the catalogue): server text (an error body that echoes the request URL) and
transport text (fetch's "Failed to fetch
GET a path on the data host with query params.
Optionalquery: QueryParamsAn answer's text, already scrubbed as sent (redact), as RegionalatlasApiError.body keeps
it: when it is JSON with an escape in it, checked decoded too. An escape (\", \u00e4)
hides an echoed credential from the scrub of the text as sent, while a caller who parses the
body sees it. Such a body is kept as the decoded JSON written again (JSON.stringify, one
spelling per character) with the credential scrubbed in that spelling. A body that doesn't
parse is text nobody decodes, and stays as sent; one too deeply nested to write again is left
out (""). The client uses it for the ArcGIS envelope on HTTP 200 too.
EngineOptions.bigIntegerKeys, copied.