1 | export class Endpoint {
|
2 | |
3 |
|
4 |
|
5 | constructor(url: string);
|
6 |
|
7 | /**
|
8 | * The host portion of the endpoint including the port, e.g., example.com:80.
|
9 | */
|
10 | host: string;
|
11 | /**
|
12 | * The host portion of the endpoint, e.g., example.com.
|
13 | */
|
14 | hostname: string;
|
15 | /**
|
16 | * The full URL of the endpoint.
|
17 | */
|
18 | href: string;
|
19 | /**
|
20 | * The port of the endpoint.
|
21 | */
|
22 | port: number;
|
23 | /**
|
24 | * The protocol (http or https) of the endpoint URL.
|
25 | */
|
26 | protocol: string;
|
27 | } |
\ | No newline at end of file |