Global scope
Type Definitions
url_parts
The full parts of an url.
Properties:
| Name | Type | Description |
|---|---|---|
| protocol | string | A protocol (including ":", like "ftp:") or ":". |
| href | string | An absolute url (like "ftp://username:password@www.example.com:80/a?b=1#c"). |
| host | string | The host (like "www.example.com:80") or an empty string. |
| hostname | string | A hostname (like "www.example.com"). |
| port | string | The GIVEN port as a number (like "80") or an empty string. |
| pathname | string | A pathname (like "/a"). |
| origin | string | The origin (like "ftp://www.example.com"). |
| search | string | The query arguments (including "?", like "?b=1") or an empty string. |
| hash | string | The hash (including '#', like "#c") or an empty string. |
| username | string | The given username or an empty string. |
| password | string | The given password or an empty string. |
Type:
Object
