getFullUrl
Get the full URL for this agent’s endpoint. The URL is constructed from the agent’s
host, port, and route. When behind a proxy, the SWML_PROXY_URL_BASE environment
variable or manualSetProxyUrl() takes precedence.
Parameters
includeAuth
Whether to embed Basic Auth credentials in the URL (e.g.,
https://user:pass@host:port/route).
Returns
string — The fully constructed URL string.