On this page
URL
The URL interface represents an object providing static methods used for creating object URLs.
class URL {
hash: string;
host: string;
hostname: string;
href: string;
readonly origin: string;
password: string;
pathname: string;
port: string;
protocol: string;
search: string;
username: string;
toJSON(): string;
toString(): string;
static revokeObjectURL(url: string): void;
}
Properties
hash: string
host: string
hostname: string
href: string
origin: string
password: string
pathname: string
port: string
protocol: string
search: string
searchParams: URLSearchParams
username: string
Methods
toJSON(): string
toString(): string
Static Methods
createObjectURL(blob: Blob): string
revokeObjectURL(url: string): void
© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/URL