Skip to content

Interface: URL ​

Defined in: types/desktop-engine.d.ts:4305

A parsed URL (WHATWG URL Standard). International domain names are converted to Punycode without the full UTS #46 mapping: unusual characters in host names may come out differently from browsers

Properties ​

hash ​

ts
hash: string;

Defined in: types/desktop-engine.d.ts:4306


host ​

ts
host: string;

Defined in: types/desktop-engine.d.ts:4307


hostname ​

ts
hostname: string;

Defined in: types/desktop-engine.d.ts:4308


href ​

ts
href: string;

Defined in: types/desktop-engine.d.ts:4309


origin ​

ts
readonly origin: string;

Defined in: types/desktop-engine.d.ts:4310


password ​

ts
password: string;

Defined in: types/desktop-engine.d.ts:4311


pathname ​

ts
pathname: string;

Defined in: types/desktop-engine.d.ts:4312


port ​

ts
port: string;

Defined in: types/desktop-engine.d.ts:4313


protocol ​

ts
protocol: string;

Defined in: types/desktop-engine.d.ts:4314


ts
search: string;

Defined in: types/desktop-engine.d.ts:4315


searchParams ​

ts
readonly searchParams: URLSearchParams;

Defined in: types/desktop-engine.d.ts:4317

Live: changing it changes search, and the other way around


username ​

ts
username: string;

Defined in: types/desktop-engine.d.ts:4318

Methods ​

toJSON() ​

ts
toJSON(): string;

Defined in: types/desktop-engine.d.ts:4320

Returns ​

string


toString() ​

ts
toString(): string;

Defined in: types/desktop-engine.d.ts:4319

Returns ​

string

The SDK is released under the Apache License 2.0