1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| declare type ParsedUrl = {
| source: string;
| protocol: string;
| authority: string;
| userInfo: string;
| user: string;
| password: string;
| host: string;
| port: string;
| relative: string;
| path: string;
| directory: string;
| file: string;
| query: string;
| anchor: string;
| pathNames: Array<string>;
| queryKey: {
| [key: string]: string;
| };
| id: string;
| href: string;
| };
| /**
| * URL parser.
| *
| * @param uri - url
| * @param path - the request path of the connection
| * @param loc - An object meant to mimic window.location.
| * Defaults to window.location.
| * @public
| */
| export declare function url(uri: string | ParsedUrl, path?: string, loc?: Location): ParsedUrl;
| export {};
|
|