Function: gatewayOrigin()
gatewayOrigin(
gateway):string
Defined in: proof.ts:87
The canonical origin of a gateway URL: what is signed and what a gateway configures. https only (http for a loopback host), no credentials, no path, query or fragment beyond what URL drops, default port omitted, host lower-cased.
Parameters
gateway
string
Returns
string
Throws
if gateway is not such a URL.