Skip to content

Interface: URL ​

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

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:5783


host ​

ts
host: string;

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


hostname ​

ts
hostname: string;

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


href ​

ts
href: string;

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


origin ​

ts
readonly origin: string;

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


password ​

ts
password: string;

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


pathname ​

ts
pathname: string;

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


port ​

ts
port: string;

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


protocol ​

ts
protocol: string;

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


ts
search: string;

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


searchParams ​

ts
readonly searchParams: URLSearchParams;

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

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


username ​

ts
username: string;

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

Methods ​

toJSON() ​

ts
toJSON(): string;

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

Returns ​

string


toString() ​

ts
toString(): string;

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

Returns ​

string

The SDK is released under the Apache License 2.0