Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUrl

The interface for a URL object

Hierarchy

  • IUrl

Index

Properties

Optional hash

hash: string

The "fragment" portion of the URL including the leading ASCII hash (#) character

Optional host

host: string

The full lower-cased host portion of the URL, including the port if specified.

Optional hostname

hostname: string

The lower-cased host name portion of the host component without the port included.

Optional href

href: string

The full URL string that was parsed with both the protocol and host components converted to lower-case.

Optional pathname

pathname: string

The entire path section of the URL.

Optional port

port: string

The numeric port portion of the host component.

Optional protocol

protocol: string

Identifies the URL's lower-cased protocol scheme.

Optional search

search: string

The search element, including leading question mark ('?'), if any, of the URL.

Generated using TypeDoc