Function: startProxy()
startProxy(
options):Promise<void>
Start the proxy and resolve once it is listening.
publicDomain is intentionally NOT passed to gateRequest: on this path every
request arrived on the public port, so it IS tunnel traffic by construction -
whereas the in-process gate shares a port with the platform front door and has
to tell them apart by Host. Passing the request’s own host keeps the shared
decision function’s contract satisfied without weakening it.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<void>