Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Url

A possibly incomplete implementation of the WHATWG URL interface. Used as a fallback if no other module is found.

Hierarchy

  • Url

Implements

Index

Constructors

constructor

Accessors

hash

  • get hash(): string
  • set hash(_value: string): void
  • Returns string

  • Parameters

    • _value: string

    Returns void

host

  • get host(): string
  • set host(_value: string): void
  • Returns string

  • Parameters

    • _value: string

    Returns void

hostname

  • get hostname(): string
  • set hostname(_value: string): void
  • Returns string

  • Parameters

    • _value: string

    Returns void

href

  • get href(): string
  • set href(_value: string): void
  • Returns string

  • Parameters

    • _value: string

    Returns void

origin

  • get origin(): string

password

  • get password(): string
  • set password(_value: string): void

pathname

  • get pathname(): string
  • set pathname(value: string): void

port

  • get port(): string
  • set port(_value: string): void

protocol

  • get protocol(): string
  • set protocol(_value: string): void

search

  • get search(): string
  • set search(_value: string): void

searchParams

  • get searchParams(): ISearchParametersImmutable
  • Returns ISearchParametersImmutable

username

  • get username(): string
  • set username(_value: string): void

Methods

__@toPrimitive

  • __@toPrimitive(): string

__@toStringTag

  • __@toStringTag(): "URL"

toJSON

  • toJSON(_?: undefined | string): string
  • Parameters

    • Optional _: undefined | string

    Returns string

toString

  • toString(): string

Static createObjectURL

  • createObjectURL(_object: any): string
  • Parameters

    • _object: any

    Returns string

Static revokeObjectURL

  • revokeObjectURL(_url: string): void
  • Parameters

    • _url: string

    Returns void